1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Add a method for restarting the editor to EditorInterface

This commit is contained in:
Aaron Franke
2022-08-18 18:46:31 -05:00
parent 0d95b8bff2
commit 92f5a0a1db
3 changed files with 16 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ public:
Error save_scene();
void save_scene_as(const String &p_scene, bool p_with_preview = true);
void restart_editor(bool p_save = true);
Vector<Ref<Texture2D>> make_mesh_previews(const Vector<Ref<Mesh>> &p_meshes, Vector<Transform3D> *p_transforms, int p_preview_size);