From: David Steele Date: Wed, 20 Apr 2016 19:21:43 +0000 (+0100) Subject: Changed shadow view to turn position inheritance off for blur filter X-Git-Tag: dali_1.1.32~11 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=a3cf9d0565a515064de2feb99b8b8cc33be9d521 Changed shadow view to turn position inheritance off for blur filter 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 --- diff --git a/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.cpp b/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.cpp index 7ae8fa4..28bae71 100644 --- a/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.cpp +++ b/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.cpp @@ -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);