X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Factors%2Fcamera-actor-impl.cpp;h=f73497a443bd04a10fdbe48453d15833209ef9e2;hb=df2736dfa4617e3ba2f25f2b8a769c6ffe14f632;hp=9b3e9b749bc76901d55619526da94f0dc010b883;hpb=2e6731c21dcb638ab06e197b8fe8cee20956c0f4;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/actors/camera-actor-impl.cpp b/dali/internal/event/actors/camera-actor-impl.cpp index 9b3e9b7..f73497a 100644 --- a/dali/internal/event/actors/camera-actor-impl.cpp +++ b/dali/internal/event/actors/camera-actor-impl.cpp @@ -193,7 +193,7 @@ void CameraActor::OnInitialize() AddCameraMessage( GetEventThreadServices().GetUpdateManager(), sceneGraphCameraOwner ); } -void CameraActor::OnStageConnectionInternal() +void CameraActor::OnSceneConnectionInternal() { // If the canvas size has not been set, then use the size of the scene we've been added to to set up the perspective projection if( ( mCanvasSize.width < Math::MACHINE_EPSILON_1000 ) || ( mCanvasSize.height < Math::MACHINE_EPSILON_1000 ) ) @@ -388,7 +388,7 @@ void CameraActor::SetPerspectiveProjection( const Size& size ) if( ( size.width < Math::MACHINE_EPSILON_1000 ) || ( size.height < Math::MACHINE_EPSILON_1000 ) ) { // If the size given is invalid, i.e. ZERO, then check if we've been added to a scene - if( OnStage() ) + if( OnScene() ) { // We've been added to a scene already, set the canvas size to the scene's size mCanvasSize = GetScene().GetSize(); @@ -498,7 +498,7 @@ bool CameraActor::BuildPickingRay( const Vector2& screenCoordinates, const Matrix& CameraActor::GetViewMatrix() const { - if ( OnStage() ) + if ( OnScene() ) { return mSceneObject->GetViewMatrix( GetEventThreadServices().GetEventBufferIndex() ); } @@ -510,7 +510,7 @@ const Matrix& CameraActor::GetViewMatrix() const const Matrix& CameraActor::GetProjectionMatrix() const { - if ( OnStage() ) + if ( OnScene() ) { return mSceneObject->GetProjectionMatrix( GetEventThreadServices().GetEventBufferIndex() ); }