Ver Fonte

Fix OnActiveViewChanged event in scripts (#18892)

A typo caused the wrong event to be dispatched to scripts.

Signed-off-by: Alejandro Ramallo <[email protected]>
Alejandro Ramallo há 2 meses atrás
pai
commit
bcb25bf7a2
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Gems/Camera/Code/Source/CameraComponent.cpp

+ 1 - 1
Gems/Camera/Code/Source/CameraComponent.cpp

@@ -69,7 +69,7 @@ namespace Camera
 
         void OnActiveViewChanged(const AZ::EntityId& cameraId) override
         {
-            Call(FN_OnCameraRemoved, cameraId);
+            Call(FN_OnActiveViewChanged, cameraId);
         };
     };