mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix Script Class Icons Not Checking Parent
This commit is contained in:
parent
36d90c73a8
commit
b32a76299a
1 changed files with 1 additions and 1 deletions
|
|
@ -1023,7 +1023,7 @@ String EditorData::script_class_get_icon_path(const String &p_class, bool *r_val
|
||||||
return String();
|
return String();
|
||||||
}
|
}
|
||||||
HashMap<StringName, String>::ConstIterator E = _script_class_icon_paths.find(current);
|
HashMap<StringName, String>::ConstIterator E = _script_class_icon_paths.find(current);
|
||||||
if ((bool)E) {
|
if ((bool)E && !E->value.is_empty()) {
|
||||||
if (r_valid) {
|
if (r_valid) {
|
||||||
*r_valid = true;
|
*r_valid = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue