Changed shadow view to turn position inheritance off for blur filter 56/66756/3
authorDavid Steele <david.steele@samsung.com>
Wed, 20 Apr 2016 19:21:43 +0000 (20:21 +0100)
committerDavid Steele <david.steele@samsung.com>
Tue, 26 Apr 2016 13:03:43 +0000 (06:03 -0700)
Recent changes to transform have altered position inheritance meaning.
Turning off position inheritance for the actors used by the blur filter
ensures that the final image (this is an image -> image render task) is positioned
in the same place.

Change-Id: I6102e756fc7d581fc8ba2e882601ed8d6f117b09
Signed-off-by: David Steele <david.steele@samsung.com>
dali-toolkit/internal/controls/shadow-view/shadow-view-impl.cpp

index 7ae8fa4..28bae71 100644 (file)
@@ -275,6 +275,7 @@ void ShadowView::OnInitialize()
 
   // Turn off inheritance to ensure filter renders properly
   mBlurRootActor.SetParentOrigin( ParentOrigin::CENTER );
+  mBlurRootActor.SetInheritPosition(false);
   mBlurRootActor.SetInheritOrientation(false);
   mBlurRootActor.SetInheritScale(false);
   mBlurRootActor.SetColorMode(USE_OWN_COLOR);