You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
validate any form of running project
This commit is contained in:
@@ -5702,11 +5702,6 @@ bool EditorNode::ensure_main_scene(bool p_from_native) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!EditorNode::validate_custom_directory()) {
|
||||
current_menu_option = -1;
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -218,6 +218,10 @@ void EditorRunBar::_run_scene(const String &p_scene_path, const Vector<String> &
|
||||
return;
|
||||
}
|
||||
|
||||
if (!EditorNode::get_singleton()->validate_custom_directory()) {
|
||||
return;
|
||||
}
|
||||
|
||||
_reset_play_buttons();
|
||||
|
||||
String write_movie_file;
|
||||
|
||||
Reference in New Issue
Block a user