Remove uniform mapping.
[platform/core/uifw/dali-demo.git] / examples / mesh-sorting / mesh-sorting-example.cpp
index b019791..1c5b2b2 100644 (file)
@@ -189,8 +189,7 @@ public:
 
       meshActor.SetOpacity( i%2?0.7f:1.0f );
 
-      Property::Index index=meshActor.RegisterProperty("hue", i/(float)NUMBER_OF_SAMPLES);
-      meshActor.AddUniformMapping( index, "uHue" );
+      meshActor.RegisterProperty("uHue", i/(float)NUMBER_OF_SAMPLES);
 
       meshActor.TouchedSignal().Connect(this, &ExampleController::OnTouched);
       std::ostringstream oss;