diff --git a/tutorials/plugins/running_code_in_the_editor.rst b/tutorials/plugins/running_code_in_the_editor.rst index 808f829f7..3a5110bf4 100644 --- a/tutorials/plugins/running_code_in_the_editor.rst +++ b/tutorials/plugins/running_code_in_the_editor.rst @@ -699,7 +699,7 @@ doubles the range of all OmniLight3D nodes: } In the above example, we also call -:ref:`EditorScript.mark_scene_as_unsaved() ` +:ref:`EditorInterface.mark_scene_as_unsaved() ` after any modification that affects the scene's state. This allows the editor to display the scene as "unsaved" (i.e. with an asterisk next to the name). This way, you also get a confirmation when trying to close the scene with unsaved changes.