Fix type error

2.2.3

- fixed: Type error on realign ops
gpv2
pullusb 2023-03-06 16:37:17 +01:00
parent eaf9c3b22f
commit 9a49175859
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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:

View File

@ -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": "",