Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Commit 2f1540a

Browse files
committed
Version 0.3.2-beta
- Updated Onion Skin logic - Added ability to see onion skin of a specific number of past and future objects, and also to change this behaviour to that of a range - Updated material and overall handling of onion skin objects - Fixed multiple issues reported recently, including one where the addon would return the wrong index in order for a new mesh to be created, causing problems with keyframes at multiple positions and another one where the addon would automatically switch the shading type. - Rehauled Panel UI - Added contribution section to the Panel - Sections in the panel are now separated by boxes
1 parent 9760858 commit 2f1540a

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

media/cover.png

-6.47 KB
Loading

stopmagic/__init__.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,27 @@
88
importlib.reload(operators)
99
importlib.reload(functions)
1010
importlib.reload(panel)
11+
importlib.reload(icons)
1112
else:
1213
from stopmagic import preferences
1314
from stopmagic import operators
1415
from stopmagic import functions
1516
from stopmagic import panel
17+
from stopmagic import icons
1618

1719
from typing import List, Tuple
1820
import bpy
1921
import re
20-
from os.path import basename, dirname
22+
import os.path
23+
2124

2225
__package__ = "stopmagic"
2326

27+
2428
bl_info = {
2529
"name": "Stopmagic",
2630
"author": "Aldrin Mathew",
27-
"version": (0, 3, 1),
31+
"version": (0, 3, 2),
2832
"blender": (2, 91, 0),
2933
"location": "Sidebar > Stopmagic",
3034
"warning": "beta",
@@ -39,6 +43,7 @@
3943

4044
def register() -> None:
4145
global addon_keymaps
46+
icons.register()
4247
preferences.register()
4348
panel.StopmagicPanel.bl_info = bl_info
4449
panel.register()
@@ -50,6 +55,7 @@ def register() -> None:
5055
operators.keyed_frame_next.register()
5156
operators.keyed_frame_previous.register()
5257
operators.upgrade_addon.register()
58+
operators.contributions.register()
5359
bpy.app.handlers.load_post.append(functions.frame_handler)
5460
bpy.app.handlers.load_post.append(functions.handle_onion_skin)
5561
bpy.app.handlers.frame_change_post.clear()
@@ -69,11 +75,13 @@ def unregister() -> None:
6975
operators.keyed_frame_next.unregister()
7076
operators.keyed_frame_previous.unregister()
7177
operators.upgrade_addon.unregister()
78+
operators.contributions.unregister()
7279
panel.unregister()
7380
bpy.app.handlers.load_post.clear()
7481
bpy.app.handlers.load_post.clear()
7582
bpy.app.handlers.frame_change_post.clear()
7683
bpy.app.handlers.frame_change_pre.clear()
84+
icons.unregister()
7785
addon_keymaps.clear()
7886

7987

0 commit comments

Comments
 (0)