{\r
KeyboardFocusManager::Get().SetCurrentFocusActor(mActivatedActor);\r
}\r
+ auto window = mApp.GetWindow();\r
+ window.GetRootLayer().SetProperty(Layer::Property::BEHAVIOR, Layer::LAYER_UI);\r
}\r
else\r
{\r
\r
try\r
{\r
- auto window = mApp.GetWindow();\r
+ auto window = mApp.GetWindow();\r
+ window.GetRootLayer().SetProperty(Layer::Property::BEHAVIOR, Layer::LAYER_3D);\r
auto renderTasks = window.GetRenderTaskList();\r
renderTasks.RemoveTask(mSceneRender);\r
\r
"uCubeMatrix" : [ 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ],
"uMaxLOD" : 6
}, {
- "vertex" : "dli_images.vsh",
- "fragment" : "dli_images.fsh",
+ "vertex" : "../shaders/dli_images.vsh",
+ "fragment" : "../shaders/dli_images.fsh",
"rendererState" : "DEPTH_TEST|ALPHA_BLEND",
"uCubeMatrix" : [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ],
"uTilt" : [ 0.0, 0.0 ]