aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/tile_set_editor_plugin.cpp
diff options
context:
space:
mode:
authorvolzhs2018-01-05 03:55:43 +0900
committervolzhs2018-01-05 03:55:43 +0900
commit1876999b3a86a91099c6c06b0ff29ae127f9767b (patch)
tree6ef0dbb2056a3ca812d9c5bfb4339b5065191513 /editor/plugins/tile_set_editor_plugin.cpp
parent0b07d453f719f92cce6c92fa229b8a0d0284b634 (diff)
downloadgodot-1876999b3a86a91099c6c06b0ff29ae127f9767b.tar.gz
godot-1876999b3a86a91099c6c06b0ff29ae127f9767b.tar.zst
godot-1876999b3a86a91099c6c06b0ff29ae127f9767b.zip
Fix get_edited_scene_root error at starting editor
Fix #15300
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 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