Brushstroke Tools: Initial Version #328

Merged
Simon Thommes merged 229 commits from SimonThommes/blender-studio-tools:brushstroke_tools-initial-version into main 2024-11-06 15:03:47 +01:00
Showing only changes of commit 4c8520d71b - Show all commits

View File

@ -7,7 +7,7 @@ def register():
for m in modules:
m.register()
manifest = toml.load(f"{utils.get_addon_directory()}/blender_manifest.toml")
utils.addon_version = manifest['version']
utils.addon_version = tuple([int(i) for i in manifest['version'].split('.')])
SimonThommes marked this conversation as resolved Outdated

Generally it's recommended to unregister in reverse registration order: for m in reversed(modules):

Generally it's recommended to unregister in reverse registration order: `for m in reversed(modules):`
def unregister():
for m in reversed(modules):