Use Layer_3D in scene3d-model example
[platform/core/uifw/dali-demo.git] / examples / scene3d-model / scene3d-model-example.cpp
index 1ae62e4..1c0b8dd 100644 (file)
@@ -215,6 +215,7 @@ public:
   void Create(Application& application)
   {
     mWindow = application.GetWindow();
+    mWindow.GetRootLayer().SetProperty(Layer::Property::BEHAVIOR, Layer::LAYER_3D);
 
     // Get a handle to the mWindow
     mWindow.SetBackgroundColor(Color::WHITE);