Skip to content

Commit

Permalink
Adding add-on updater
Browse files Browse the repository at this point in the history
  • Loading branch information
benrugg committed Oct 11, 2022
1 parent 5bf2904 commit 72157c8
Show file tree
Hide file tree
Showing 6 changed files with 3,350 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# blender/python
__pycache__
ai-render_updater

# misc
.DS_Store
6 changes: 5 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "AI Render - Stable Diffusion in Blender",
"description": "Create amazing images using Stable Diffusion AI",
"author": "Ben Rugg",
"version": (0, 2, 1),
"version": (0, 2, 2),
"blender": (3, 3, 0),
"location": "Render Properties > AI Render",
"warning": "",
Expand All @@ -13,6 +13,7 @@

if "bpy" in locals():
import imp
imp.reload(addon_updater_ops)
imp.reload(config)
imp.reload(handlers)
imp.reload(operators)
Expand All @@ -24,6 +25,7 @@
imp.reload(utils)
else:
from . import (
addon_updater_ops,
config,
handlers,
operators,
Expand All @@ -41,6 +43,7 @@


def register():
addon_updater_ops.register(bl_info)
handlers.register()
operators.register()
preferences.register()
Expand All @@ -51,6 +54,7 @@ def register():


def unregister():
addon_updater_ops.unregister()
handlers.unregister()
operators.unregister()
preferences.unregister()
Expand Down
Loading

0 comments on commit 72157c8

Please sign in to comment.