From a3cf9d0565a515064de2feb99b8b8cc33be9d521 Mon Sep 17 00:00:00 2001 From: David Steele Date: Wed, 20 Apr 2016 20:21:43 +0100 Subject: [PATCH] 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 --- dali-toolkit/internal/controls/shadow-view/shadow-view-impl.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.7.4