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:
@ -42,7 +42,7 @@ void Range::Shared::emit_value_changed() {
|
||||
|
||||
for (Set<Range*>::Element *E=owners.front();E;E=E->next()) {
|
||||
Range *r=E->get();
|
||||
if (!r->is_inside_scene())
|
||||
if (!r->is_inside_tree())
|
||||
continue;
|
||||
r->_value_changed_notify();
|
||||
}
|
||||
@ -59,7 +59,7 @@ void Range::Shared::emit_changed() {
|
||||
|
||||
for (Set<Range*>::Element *E=owners.front();E;E=E->next()) {
|
||||
Range *r=E->get();
|
||||
if (!r->is_inside_scene())
|
||||
if (!r->is_inside_tree())
|
||||
continue;
|
||||
r->_changed_notify();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user