Fix @export open scene button not working

This commit is contained in:
Maxime Delorme 2024-12-20 15:36:28 +01:00
parent 6e2cf2aa7b
commit ff107cbeeb

View file

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