Преглед на файлове

Fix @export open scene button not working

Maxime Delorme преди 8 месеца
родител
ревизия
ff107cbeeb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      editor/plugins/packed_scene_editor_plugin.cpp

+ 1 - 1
editor/plugins/packed_scene_editor_plugin.cpp

@@ -36,7 +36,7 @@
 
 void PackedSceneEditor::_on_open_scene_pressed() {
 	// Using deferred call because changing scene updates the Inspector and thus destroys this plugin.
-	callable_mp(EditorNode::get_singleton(), &EditorNode::open_request).call_deferred(packed_scene->get_path());
+	callable_mp(EditorNode::get_singleton(), &EditorNode::open_request).call_deferred(packed_scene->get_path(), false);
 }
 
 void PackedSceneEditor::_notification(int p_what) {