Skip to content

Commit

Permalink
Version 0.3.2-beta
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
AldrinMathew committed Feb 17, 2022
1 parent 9760858 commit 2f1540a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Binary file modified media/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions stopmagic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,27 @@
importlib.reload(operators)
importlib.reload(functions)
importlib.reload(panel)
importlib.reload(icons)
else:
from stopmagic import preferences
from stopmagic import operators
from stopmagic import functions
from stopmagic import panel
from stopmagic import icons

from typing import List, Tuple
import bpy
import re
from os.path import basename, dirname
import os.path


__package__ = "stopmagic"


bl_info = {
"name": "Stopmagic",
"author": "Aldrin Mathew",
"version": (0, 3, 1),
"version": (0, 3, 2),
"blender": (2, 91, 0),
"location": "Sidebar > Stopmagic",
"warning": "beta",
Expand All @@ -39,6 +43,7 @@

def register() -> None:
global addon_keymaps
icons.register()
preferences.register()
panel.StopmagicPanel.bl_info = bl_info
panel.register()
Expand All @@ -50,6 +55,7 @@ def register() -> None:
operators.keyed_frame_next.register()
operators.keyed_frame_previous.register()
operators.upgrade_addon.register()
operators.contributions.register()
bpy.app.handlers.load_post.append(functions.frame_handler)
bpy.app.handlers.load_post.append(functions.handle_onion_skin)
bpy.app.handlers.frame_change_post.clear()
Expand All @@ -69,11 +75,13 @@ def unregister() -> None:
operators.keyed_frame_next.unregister()
operators.keyed_frame_previous.unregister()
operators.upgrade_addon.unregister()
operators.contributions.unregister()
panel.unregister()
bpy.app.handlers.load_post.clear()
bpy.app.handlers.load_post.clear()
bpy.app.handlers.frame_change_post.clear()
bpy.app.handlers.frame_change_pre.clear()
icons.unregister()
addon_keymaps.clear()


Expand Down

0 comments on commit 2f1540a

Please sign in to comment.