summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/os_linuxbsd.h
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-06-25 02:13:13 +0300
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-06-25 02:23:39 +0300
commitc177308f80b46b358751eaaa6e96f693066b4bdc (patch)
tree749922eae85093eeeff5ca8a377cb7eceaf21989 /platform/linuxbsd/os_linuxbsd.h
parent4dede9e644d480c83dfdbb2c3d3b423b075ef64e (diff)
Don't use arbitrary theme editor icons for scripts with the same name
The existing theme editor icon could be unintentionally set for any global class with matching name (`Group` icon, `Group` class_name etc), which would only show up in the "Create Dialog" context, but not the scene tree dock. This change prevents this behavior, and ensures that the icon can be actually overidden by explicit icon path in `class_name`, if there's any custom icon to begin with. The correct built-in type's icon is fetched for child classes if there are no custom icons detected throughout base classes as well, so it isn't left empty for those cases.
Diffstat (limited to 'platform/linuxbsd/os_linuxbsd.h')
0 files changed, 0 insertions, 0 deletions