[Tizen] Change to use AnimatedProperty instead of name for getActor
[platform/core/uifw/dali-demo.git] / examples / scene3d / scene3d-example.cpp
index 2c634c8..fa5ff00 100644 (file)
@@ -269,8 +269,8 @@ Actor LoadScene(std::string sceneName, CameraActor camera, std::vector<Animation
 \r
   if(!animations->empty())\r
   {\r
-    auto getActor = [&root](const std::string& name) {\r
-      return root.FindChildByName(name);\r
+    auto getActor = [&root](const Scene3D::Loader::AnimatedProperty& property) {\r
+      return root.FindChildByName(property.mNodeName);\r
     };\r
 \r
     animation = (*animations)[0].ReAnimate(getActor);\r