mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 03:46:50 +01:00
Added a hack to the editor icon builder script, because it capitalized The new int classes wrong. (Vector2i was capitalized Vector2I).
This commit is contained in:
parent
84955fab68
commit
6c91c3f9d5
@ -50,7 +50,13 @@ def make_editor_icons_action(target, source, env):
|
||||
|
||||
fname = str(f)
|
||||
|
||||
icon_name = os.path.basename(fname)[5:-4].title().replace("_", "")
|
||||
icon_name = os.path.basename(fname)[5:-4].title()
|
||||
|
||||
#hack
|
||||
icon_name = icon_name.replace("Vector2I", "Vector2i")
|
||||
icon_name = icon_name.replace("Vector3I", "Vector3i")
|
||||
|
||||
icon_name = icon_name.replace("_", "")
|
||||
# some special cases
|
||||
if icon_name in ["Int", "Bool", "Float"]:
|
||||
icon_name = icon_name.lower()
|
||||
|
Loading…
Reference in New Issue
Block a user