mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Adds "Set as Main Scene" option to EditorSceneTabs context menu
Adds the option to quickly set main scene by right-clicking a scene tab. If the scene has no root, then the option is greyed out. If the scene is unsaved, the file is saved and then set as main scene. Co-Authored-By: Alex Tam <65537185+altamkp@users.noreply.github.com>
This commit is contained in:
@@ -148,6 +148,7 @@ public:
|
||||
SCENE_SAVE_SCENE,
|
||||
SCENE_SAVE_AS_SCENE,
|
||||
SCENE_SAVE_ALL_SCENES,
|
||||
SCENE_SET_MAIN_SCENE,
|
||||
SCENE_MULTI_SAVE_AS_SCENE,
|
||||
SCENE_QUICK_OPEN,
|
||||
SCENE_QUICK_OPEN_SCENE,
|
||||
@@ -216,6 +217,7 @@ public:
|
||||
SCENE_TAB_CLOSE,
|
||||
SAVE_AND_RUN,
|
||||
SAVE_AND_RUN_MAIN_SCENE,
|
||||
SAVE_AND_SET_MAIN_SCENE,
|
||||
RESOURCE_SAVE,
|
||||
RESOURCE_SAVE_AS,
|
||||
SETTINGS_PICK_MAIN_SCENE,
|
||||
|
||||
Reference in New Issue
Block a user