X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fcluster%2Fcluster-style-impl.cpp;h=1084302f2e316231f548744f16edbb788a8447c0;hb=ffe0742468a71b93445f53863252be639bf3fe99;hp=18a5e9d8ceebde8f9124f1b0441e0894313daf14;hpb=1db0a8becea3dbdebaa942d934d91824a92434e7;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/cluster/cluster-style-impl.cpp b/dali-toolkit/internal/controls/cluster/cluster-style-impl.cpp index 18a5e9d..1084302 100644 --- a/dali-toolkit/internal/controls/cluster/cluster-style-impl.cpp +++ b/dali-toolkit/internal/controls/cluster/cluster-style-impl.cpp @@ -328,7 +328,7 @@ void ClusterStyle::Apply( Actor actor, { actor.SetPosition( position ); actor.SetSize( size ); - actor.SetRotation( rotation ); + actor.SetOrientation( rotation ); actor.SetScale( scale ); } } @@ -470,7 +470,6 @@ void ClusterStyleRandom::ApplyStyle(Actor child, unsigned int index, AlphaFuncti Property::Index depthProperty = child.GetPropertyIndex(Toolkit::Cluster::CLUSTER_ACTOR_DEPTH); float depthPropertyValue = child.GetProperty( depthProperty ); - Apply( child, FirstOrderEquation( GetClusterSize(), Vector3(position.x, position.y, 0.0f), Vector3(0.0f, 0.0f, depthPropertyValue) ), FirstOrderEquation( GetClusterSize(), Vector3::ONE * size),