mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Removes editor_hint from SceneTree
This commit is contained in:
parent
fd69604bd9
commit
90b8a5b71e
47 changed files with 135 additions and 114 deletions
|
|
@ -1164,7 +1164,7 @@ void VisualScriptPropertySet::_update_cache() {
|
|||
if (!OS::get_singleton()->get_main_loop()->cast_to<SceneTree>())
|
||||
return;
|
||||
|
||||
if (!OS::get_singleton()->get_main_loop()->cast_to<SceneTree>()->is_editor_hint()) //only update cache if editor exists, it's pointless otherwise
|
||||
if (!Engine::get_singleton()->is_editor_hint()) //only update cache if editor exists, it's pointless otherwise
|
||||
return;
|
||||
|
||||
if (call_mode == CALL_MODE_BASIC_TYPE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue