mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Separate Node editor dock
This commit is contained in:
@@ -47,11 +47,15 @@ const char *EditorFeatureProfile::feature_names[FEATURE_MAX] = {
|
||||
TTRC("Script Editor"),
|
||||
TTRC("Asset Library"),
|
||||
TTRC("Scene Tree Editing"),
|
||||
TTRC("Node Dock"),
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
TTRC("Node Dock (deprecated)"),
|
||||
#endif
|
||||
TTRC("FileSystem Dock"),
|
||||
TTRC("Import Dock"),
|
||||
TTRC("History Dock"),
|
||||
TTRC("Game View"),
|
||||
TTRC("Signals Dock"),
|
||||
TTRC("Groups Dock"),
|
||||
};
|
||||
|
||||
const char *EditorFeatureProfile::feature_descriptions[FEATURE_MAX] = {
|
||||
@@ -59,11 +63,15 @@ const char *EditorFeatureProfile::feature_descriptions[FEATURE_MAX] = {
|
||||
TTRC("Allows to edit scripts using the integrated script editor."),
|
||||
TTRC("Provides built-in access to the Asset Library."),
|
||||
TTRC("Allows editing the node hierarchy in the Scene dock."),
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
TTRC("Allows to work with signals and groups of the node selected in the Scene dock."),
|
||||
#endif
|
||||
TTRC("Allows to browse the local file system via a dedicated dock."),
|
||||
TTRC("Allows to configure import settings for individual assets. Requires the FileSystem dock to function."),
|
||||
TTRC("Provides an overview of the editor's and each scene's undo history."),
|
||||
TTRC("Provides tools for selecting and debugging nodes at runtime."),
|
||||
TTRC("Allows to work with signals of the node selected in the Scene dock."),
|
||||
TTRC("Allows to manage groups of the node selected in the Scene dock."),
|
||||
};
|
||||
|
||||
const char *EditorFeatureProfile::feature_identifiers[FEATURE_MAX] = {
|
||||
@@ -71,11 +79,15 @@ const char *EditorFeatureProfile::feature_identifiers[FEATURE_MAX] = {
|
||||
"script",
|
||||
"asset_lib",
|
||||
"scene_tree",
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
"node_dock",
|
||||
#endif
|
||||
"filesystem_dock",
|
||||
"import_dock",
|
||||
"history_dock",
|
||||
"game",
|
||||
"signals_dock",
|
||||
"groups_dock",
|
||||
};
|
||||
|
||||
void EditorFeatureProfile::set_disable_class(const StringName &p_class, bool p_disabled) {
|
||||
@@ -308,11 +320,15 @@ void EditorFeatureProfile::_bind_methods() {
|
||||
BIND_ENUM_CONSTANT(FEATURE_SCRIPT);
|
||||
BIND_ENUM_CONSTANT(FEATURE_ASSET_LIB);
|
||||
BIND_ENUM_CONSTANT(FEATURE_SCENE_TREE);
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
BIND_ENUM_CONSTANT(FEATURE_NODE_DOCK);
|
||||
#endif
|
||||
BIND_ENUM_CONSTANT(FEATURE_FILESYSTEM_DOCK);
|
||||
BIND_ENUM_CONSTANT(FEATURE_IMPORT_DOCK);
|
||||
BIND_ENUM_CONSTANT(FEATURE_HISTORY_DOCK);
|
||||
BIND_ENUM_CONSTANT(FEATURE_GAME);
|
||||
BIND_ENUM_CONSTANT(FEATURE_SIGNALS_DOCK);
|
||||
BIND_ENUM_CONSTANT(FEATURE_GROUPS_DOCK);
|
||||
BIND_ENUM_CONSTANT(FEATURE_MAX);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,11 +48,15 @@ public:
|
||||
FEATURE_SCRIPT,
|
||||
FEATURE_ASSET_LIB,
|
||||
FEATURE_SCENE_TREE,
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
FEATURE_NODE_DOCK,
|
||||
#endif
|
||||
FEATURE_FILESYSTEM_DOCK,
|
||||
FEATURE_IMPORT_DOCK,
|
||||
FEATURE_HISTORY_DOCK,
|
||||
FEATURE_GAME,
|
||||
FEATURE_SIGNALS_DOCK,
|
||||
FEATURE_GROUPS_DOCK,
|
||||
FEATURE_MAX
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user