Merge pull request #62416 from Calinou/movie-maker-request-attention-on-finish

Request attention on the editor window when done recording a movie
This commit is contained in:
Rémi Verschelde 2022-10-31 23:03:21 +01:00
commit 778ffce1e3
No known key found for this signature in database
GPG key ID: C3336907360768E1
6 changed files with 44 additions and 0 deletions

View file

@ -3560,6 +3560,14 @@ bool EditorNode::is_addon_plugin_enabled(const String &p_addon) const {
return addon_name_to_plugin.has("res://addons/" + p_addon + "/plugin.cfg");
}
void EditorNode::set_movie_maker_enabled(bool p_enabled) {
write_movie_button->set_pressed(p_enabled);
}
bool EditorNode::is_movie_maker_enabled() const {
return write_movie_button->is_pressed();
}
void EditorNode::_remove_edited_scene(bool p_change_tab) {
int new_index = editor_data.get_edited_scene();
int old_index = new_index;