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
This commit is contained in:
parent
d14baf6e41
commit
0dbedd18fc
168 changed files with 1534 additions and 1310 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue