Преглед изворни кода

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) {