diff --git a/CHANGELOG.md b/CHANGELOG.md index e6a0cfd..c7d9e32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +2.2.3 + +- fixed: Type error on realign ops + 2.2.2 - fixed: draw_cam data not changed when working with multiple camera in a shot diff --git a/OP_realign.py b/OP_realign.py index 2c6a273..4c07f53 100644 --- a/OP_realign.py +++ b/OP_realign.py @@ -162,7 +162,7 @@ def align_all_frames(reproject=True, ref=None, all_strokes=True): chanel = 'rotation_quaternion' if o.rotation_mode == 'QUATERNION' else 'rotation_euler' ## double list keys - rot_keys = [k.co.x for fcu in o.animation_data.action.fcurves for k in fcu.keyframe_points if fcu.data_path == chanel] + rot_keys = [int(k.co.x) for fcu in o.animation_data.action.fcurves for k in fcu.keyframe_points if fcu.data_path == chanel] ## normal iter # for fcu in o.animation_data.action.fcurves: diff --git a/__init__.py b/__init__.py index fa40e4c..e905823 100755 --- a/__init__.py +++ b/__init__.py @@ -4,7 +4,7 @@ bl_info = { "name": "GP toolbox", "description": "Tool set for Grease Pencil in animation production", "author": "Samuel Bernou, Christophe Seux", -"version": (2, 2, 2), +"version": (2, 2, 3), "blender": (3, 0, 0), "location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties", "warning": "",