1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Changes to to feature profile editor

Changed "Disable Editor" to "Contextual Editor Enabled"
Do not show contextual editors for disabled classes.
This commit is contained in:
Juan Linietsky
2019-04-08 20:20:20 -03:00
parent a20235aeb0
commit 3474e1586d
2 changed files with 6 additions and 3 deletions

View File

@@ -1475,6 +1475,9 @@ bool EditorNode::_is_class_editor_disabled_by_feature_profile(const StringName &
while (class_name != StringName()) {
if (profile->is_class_disabled(class_name)) {
return true;
}
if (profile->is_class_editor_disabled(class_name)) {
return true;
}