Skip to content

Commit

Permalink
improve walker for ztuac
Browse files Browse the repository at this point in the history
  • Loading branch information
HENDRIX-ZT2 committed Dec 9, 2024
1 parent 1b5753f commit 03fb7cb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Frontier's Cobra Engine Formats",
"author": "Harlequinz Ego, HENDRIX et al.",
"blender": (4, 0, 0),
"version": (2024, 12, 8),
"version": (2024, 12, 9),
"location": "File > Import-Export",
"description": "Import-Export models, skeletons and animations",
"warning": "",
Expand Down
6 changes: 3 additions & 3 deletions __version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# this file is auto-generated by the pre-commit hook increment_version.py
VERSION = "2024.12.08"
COMMIT_HASH = "5fbd4571f"
COMMIT_TIME = "Sun Dec 8 20:05:06 2024 +0100"
VERSION = "2024.12.09"
COMMIT_HASH = "1b5753f1e"
COMMIT_TIME = "Mon Dec 9 14:51:49 2024 +0100"
3 changes: 2 additions & 1 deletion constants/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def write_mimes_dict(out_fp, mimes):
with open(out_fp, "w") as f:
f.write(f"from constants import Mime\n\n")
f.write("mimes = {\n")
f.write(",\n".join(f"\t\"{k}\": {v}" for k, v in sorted(mimes.items())))
# for np 2.0, cast scalars to str manually
f.write(",\n".join(f"\t\"{k}\": {str(v)}" for k, v in sorted(mimes.items())))
f.write("\n}\n")


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "cobra-tools"
version = "2024.12.08"
version = "2024.12.09"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = "==3.11.*"
Expand Down

0 comments on commit 03fb7cb

Please sign in to comment.