You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix Script Class Icons Not Checking Parent
This commit is contained in:
@@ -1023,7 +1023,7 @@ String EditorData::script_class_get_icon_path(const String &p_class, bool *r_val
|
||||
return String();
|
||||
}
|
||||
HashMap<StringName, String>::ConstIterator E = _script_class_icon_paths.find(current);
|
||||
if ((bool)E) {
|
||||
if ((bool)E && !E->value.is_empty()) {
|
||||
if (r_valid) {
|
||||
*r_valid = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user