summaryrefslogtreecommitdiffstats
path: root/main/performance.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-11-05 21:20:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-11-05 21:20:42 -0300
commit0dbedd18fc62f700e92a4cf581e505d849bc47ad (patch)
tree8f2c85b4d9227e441fd35ab4873009faa656bcba /main/performance.cpp
parentd14baf6e41bcdbe4968e0513beccc09dfb160ecd (diff)
downloadredot-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.cpp2
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();