X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fshader-effects%2Fmotion-stretch-effect.cpp;h=de70fb551e70431b314a28c61859e7ff5dcac1c1;hb=b0161740d01e7dab764177a807512faa104149e9;hp=48dff1d1dac3c9975b200cd113e0fdb485290d08;hpb=57869973578f6a0b0f836d396c7232ddb8302c6b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/shader-effects/motion-stretch-effect.cpp b/dali-toolkit/public-api/shader-effects/motion-stretch-effect.cpp index 48dff1d..de70fb5 100644 --- a/dali-toolkit/public-api/shader-effects/motion-stretch-effect.cpp +++ b/dali-toolkit/public-api/shader-effects/motion-stretch-effect.cpp @@ -19,6 +19,8 @@ #include // EXTERNAL INCLUDES +#include +#include #include namespace Dali @@ -98,10 +100,10 @@ MotionStretchEffect MotionStretchEffect::Apply( RenderableActor renderable ) MotionStretchEffect newEffect = New(); renderable.SetShaderEffect( newEffect ); - Property::Index uModelProperty = newEffect.GetPropertyIndex( MOTION_STRETCH_MODELVIEW_LASTFRAME ); + Dali::Property::Index uModelProperty = newEffect.GetPropertyIndex( MOTION_STRETCH_MODELVIEW_LASTFRAME ); Constraint constraint = Constraint::New( uModelProperty, - Source( renderable, Actor::WORLD_MATRIX ), + Source( renderable, Actor::Property::WorldMatrix ), EqualToConstraint() ); // and set up constraint.