From: Paul Wisbey
Date: Thu, 12 Mar 2015 17:07:34 +0000 (+0000)
Subject: Removed some pointless setters
X-Git-Tag: dali_1.0.38~11^2~60
X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=4152dcf2ef7de247e32a74c920ba364c5f32da60;ds=sidebyside
Removed some pointless setters
Change-Id: I278a3a9d4ae30f2d25ee972d6864d586d3482d49
---
diff --git a/dali-toolkit/internal/text/clipping/text-clipper.cpp b/dali-toolkit/internal/text/clipping/text-clipper.cpp
index 1b3a38c..66bf2ec 100644
--- a/dali-toolkit/internal/text/clipping/text-clipper.cpp
+++ b/dali-toolkit/internal/text/clipping/text-clipper.cpp
@@ -101,10 +101,8 @@ void Clipper::Initialize( const Vector2& size )
mOffscreenRootActor.SetInheritScale( false );
mOffscreenRootActor.SetDepthTestDisabled( true );
mOffscreenRootActor.SetSize( offscreenSize );
- mOffscreenRootActor.SetPosition( 0.0f, 0.0f, 0.0f );
mImageActor = ImageActor::New();
- mImageActor.SetAnchorPoint( ParentOrigin::CENTER );
mImageActor.SetParentOrigin( ParentOrigin::CENTER );
mImageActor.SetBlendFunc( BlendingFactor::ONE, BlendingFactor::ONE_MINUS_SRC_ALPHA,
BlendingFactor::ONE, BlendingFactor::ONE );
@@ -114,16 +112,12 @@ void Clipper::Initialize( const Vector2& size )
// Creates a new camera actor.
mOffscreenCameraActor = CameraActor::New();
mOffscreenCameraActor.SetParentOrigin( ParentOrigin::CENTER );
- mOffscreenCameraActor.SetAnchorPoint( AnchorPoint::CENTER );
- mOffscreenCameraActor.SetRotation(Degree(180.f), Vector3::YAXIS);
- mOffscreenCameraActor.SetType( Dali::Camera::FREE_LOOK ); // Inherits position from the offscreen root actor.
mOffscreenCameraActor.SetOrthographicProjection( offscreenSize );
mOffscreenRootActor.Add( mOffscreenCameraActor ); // camera to shoot the offscreen text
// Creates a new render task.
mRenderTask = Stage::GetCurrent().GetRenderTaskList().CreateTask();
mRenderTask.SetSourceActor( mOffscreenRootActor );
- mRenderTask.SetInputEnabled( false );
mRenderTask.SetClearColor( Color::TRANSPARENT );
mRenderTask.SetClearEnabled( true );
mRenderTask.SetExclusive( true );