X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fsuper-blur-view%2Fsuper-blur-view-impl.cpp;h=ad90105187feeb8d87b3ecac4580c7050826a6a2;hp=fef8956b51ee408d457e9623bbfbcb22f16e7fe8;hb=1d71a8f7d7abd7729aa645ad062e530958097214;hpb=424acaeb550ba051f844c8104267bb1f68a5451e diff --git a/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.cpp b/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.cpp index fef8956..ad90105 100644 --- a/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.cpp +++ b/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.cpp @@ -147,7 +147,7 @@ void SuperBlurView::OnInitialize() { Actor self(Self()); - mBlurStrengthPropertyIndex = self.RegisterProperty("blurStrength", 0.f); + mBlurStrengthPropertyIndex = self.RegisterUniqueProperty("blurStrength", 0.f); DevelControl::SetAccessibilityConstructor(self, [](Dali::Actor actor) { return std::unique_ptr( @@ -307,7 +307,7 @@ void SuperBlurView::OnSceneConnection(int depth) if(i > 0) { Renderer renderer = mRenderers[i]; - Property::Index index = renderer.RegisterProperty(ALPHA_UNIFORM_NAME, 0.f); + Property::Index index = renderer.RegisterUniqueProperty(ALPHA_UNIFORM_NAME, 0.f); Constraint constraint = Constraint::New(renderer, index, ActorOpacityConstraint(mBlurLevels, i - 1)); constraint.AddSource(Source(self, mBlurStrengthPropertyIndex)); constraint.Apply();