Removes editor_hint from SceneTree

This commit is contained in:
Ignacio Etcheverry
2017-08-19 01:02:56 +02:00
parent fd69604bd9
commit 90b8a5b71e
47 changed files with 135 additions and 114 deletions

View File

@ -204,7 +204,7 @@ void ColorPicker::_update_presets() {
}
void ColorPicker::_text_type_toggled() {
if (!get_tree()->is_editor_hint())
if (!Engine::get_singleton()->is_editor_hint())
return;
text_is_constructor = !text_is_constructor;
if (text_is_constructor) {