fix realign return error

1.2.2:

- fix: realign anim return error
gpv2
Pullusb 2021-05-11 16:00:18 +02:00
parent 9b06aee9af
commit 517eceab76
3 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,11 @@
# Changelog # Changelog
1.1.2: 1.2.2:
- fix: realign anim return error
1.2.1:
- fix: Breakdowner initial error check - fix: Breakdowner initial error check

View File

@ -297,7 +297,7 @@ class GPTB_OT_realign(bpy.types.Operator):
align_all_frames(reproject=self.reproject) align_all_frames(reproject=self.reproject)
print(f'\nAnim realign ({time()-t0:.2f}s)') print(f'\nAnim realign ({time()-t0:.2f}s)')
self.exit(context, oframe) self.exit(context, oframe)
return return {"FINISHED"}
align_global(reproject=self.reproject) align_global(reproject=self.reproject)
print(f'\nGlobal Realign ({time()-t0:.2f}s)') print(f'\nGlobal Realign ({time()-t0:.2f}s)')

View File

@ -15,7 +15,7 @@ bl_info = {
"name": "GP toolbox", "name": "GP toolbox",
"description": "Set of tools for Grease Pencil in animation production", "description": "Set of tools for Grease Pencil in animation production",
"author": "Samuel Bernou", "author": "Samuel Bernou",
"version": (1, 2, 1), "version": (1, 2, 2),
"blender": (2, 91, 0), "blender": (2, 91, 0),
"location": "sidebar (N menu) > Gpencil > Toolbox / Gpencil properties", "location": "sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
"warning": "", "warning": "",