summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-08-18 18:46:31 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-08-18 18:51:38 -0500
commit92f5a0a1db8a4629c9ecebfd4c0943b5086d832c (patch)
treed43a843cdd7e11388d81019106d6d9e00ee5379d /doc/classes
parent0d95b8bff29a778a2cf70a0ff681e9f8c321f08e (diff)
Add a method for restarting the editor to EditorInterface
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorInterface.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml
index 1dd53e1394..beed364974 100644
--- a/doc/classes/EditorInterface.xml
+++ b/doc/classes/EditorInterface.xml
@@ -206,6 +206,13 @@
Reloads the scene at the given path.
</description>
</method>
+ <method name="restart_editor">
+ <return type="void" />
+ <param index="0" name="save" type="bool" default="true" />
+ <description>
+ Restarts the editor. This closes the editor and then opens the same project. If [param save] is [code]true[/code], the project will be saved before restarting.
+ </description>
+ </method>
<method name="save_scene">
<return type="int" enum="Error" />
<description>