diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-11-05 21:20:42 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-11-05 21:20:42 -0300 |
commit | 0dbedd18fc62f700e92a4cf581e505d849bc47ad (patch) | |
tree | 8f2c85b4d9227e441fd35ab4873009faa656bcba /main/performance.cpp | |
parent | d14baf6e41bcdbe4968e0513beccc09dfb160ecd (diff) | |
download | redot-engine-0dbedd18fc62f700e92a4cf581e505d849bc47ad.tar.gz |
SceneMainLoop -> SceneTree
-=-=-=-=-=-=-=-=-=-=-=-=-=-
*YOUR SOURCE MIGHT NOT WORK*
For mor information on fix:
https://github.com/okamstudio/godot/wiki/devel_scene_tree
Other stuff:
-Shower of bullets demo
-Fixes all around
Diffstat (limited to 'main/performance.cpp')
-rw-r--r-- | main/performance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/performance.cpp b/main/performance.cpp index 9999cc0ae0..5b76472ceb 100644 --- a/main/performance.cpp +++ b/main/performance.cpp @@ -133,7 +133,7 @@ float Performance::get_monitor(Monitor p_monitor) const { MainLoop *ml = OS::get_singleton()->get_main_loop(); if (!ml) return 0; - SceneMainLoop *sml = ml->cast_to<SceneMainLoop>(); + SceneTree *sml = ml->cast_to<SceneTree>(); if (!sml) return 0; return sml->get_node_count(); |