summaryrefslogtreecommitdiff
path: root/editor/plugins/tile_set_editor_plugin.cpp
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2017-12-10 08:01:00 +0900
committervolzhs <volzhs@gmail.com>2017-12-10 08:01:00 +0900
commit81a79e0c0e80aafd2c8a4d250202328176da676e (patch)
treea95f1141d2d21a1007d638592617a856e4786e0b /editor/plugins/tile_set_editor_plugin.cpp
parent75d0aeb0e9250db729ddba56570386f7c10084af (diff)
Fix get_edited_scene_root error at starting editor
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.cpp')
-rw-r--r--editor/plugins/tile_set_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp
index eb2faa1ab1..b8c57fd959 100644
--- a/editor/plugins/tile_set_editor_plugin.cpp
+++ b/editor/plugins/tile_set_editor_plugin.cpp
@@ -343,7 +343,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