Use the gray color for all abstract classes
This commit is contained in:
parent
6758a7f8c0
commit
398ca4e71a
21 changed files with 42 additions and 38 deletions
|
|
@ -2795,7 +2795,7 @@ void EditorInspector::update_tree() {
|
|||
|
||||
// Find the icon corresponding to the script.
|
||||
if (script_name != StringName()) {
|
||||
category->icon = EditorNode::get_singleton()->get_class_icon(script_name, "Object");
|
||||
category->icon = EditorNode::get_singleton()->get_class_icon(script_name);
|
||||
} else {
|
||||
category->icon = EditorNode::get_singleton()->get_object_icon(scr.ptr(), "Object");
|
||||
}
|
||||
|
|
@ -2803,7 +2803,7 @@ void EditorInspector::update_tree() {
|
|||
}
|
||||
|
||||
if (category->icon.is_null() && !type.is_empty()) {
|
||||
category->icon = EditorNode::get_singleton()->get_class_icon(type, "Object");
|
||||
category->icon = EditorNode::get_singleton()->get_class_icon(type);
|
||||
}
|
||||
|
||||
// Set the category label.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue