diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-08-15 16:27:15 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-08-15 16:28:34 -0300 |
commit | a4f9c95169579d650d6189d5034fb417bcc518af (patch) | |
tree | 19dfaabefb23dd94be75c515659b1fddb060d399 /editor/editor_node.cpp | |
parent | aaedde41228d0afab0ac994032ceb5eb25c13871 (diff) |
Small fix for problem of nodes losing type, this is not good enough to solve a core reimport problem, but so far fixes #8116
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 2dca98d027..73000a0116 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1246,7 +1246,7 @@ void EditorNode::_dialog_action(String p_file) { } } else { - ml.instance(); + ml = Ref<TileSet>(memnew(TileSet)); } TileSetEditor::update_library_file(editor_data.get_edited_scene_root(), ml, true); |