From 1876999b3a86a91099c6c06b0ff29ae127f9767b Mon Sep 17 00:00:00 2001 From: volzhs Date: Fri, 5 Jan 2018 03:55:43 +0900 Subject: Fix get_edited_scene_root error at starting editor Fix #15300 --- editor/plugins/tile_set_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/plugins/tile_set_editor_plugin.cpp') diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp index 50db80ba0..475cdf07b 100644 --- a/editor/plugins/tile_set_editor_plugin.cpp +++ b/editor/plugins/tile_set_editor_plugin.cpp @@ -342,7 +342,7 @@ AutotileEditor::AutotileEditor(EditorNode *p_editor) { split->add_child(property_editor); helper = memnew(AutotileEditorHelper(this)); - property_editor->edit(helper); + property_editor->call_deferred("edit", helper); //Editor -- cgit v1.2.3-70-g09d2