You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix @export open scene button not working
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
void PackedSceneEditor::_on_open_scene_pressed() {
|
void PackedSceneEditor::_on_open_scene_pressed() {
|
||||||
// Using deferred call because changing scene updates the Inspector and thus destroys this plugin.
|
// 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) {
|
void PackedSceneEditor::_notification(int p_what) {
|
||||||
|
|||||||
Reference in New Issue
Block a user