diff options
author | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-12-17 14:04:59 -0600 |
---|---|---|
committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-12-17 14:06:11 -0600 |
commit | c8c280a68a3f9f513ba4d61f32e6a9c775728dc2 (patch) | |
tree | d50d29d8c509b99c7ac1882dc26bcf9e3de85622 /editor/icons/SCsub | |
parent | 1ef123c57db0ab5f6395dd5e206234b0ed03f7b6 (diff) |
Now every variant type has its icon.
Diffstat (limited to 'editor/icons/SCsub')
-rw-r--r-- | editor/icons/SCsub | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/icons/SCsub b/editor/icons/SCsub index e28c229a38..0e4a4796ec 100644 --- a/editor/icons/SCsub +++ b/editor/icons/SCsub @@ -49,6 +49,9 @@ def make_editor_icons_action(target, source, env): fname = str(f) icon_name = os.path.basename(fname)[5:-4].title().replace("_", "") + # some special cases + if icon_name in ['Int', 'Bool', 'Float']: + icon_name = icon_name.lower() if icon_name.endswith("MediumThumb"): # dont know a better way to handle this thumb_medium_indices.append(str(index)) if icon_name.endswith("BigThumb"): # dont know a better way to handle this |