fix crash after empty frame creation
3.0.1 - fixed: Crash when drawing directly after generating empty framesgpv2
parent
cf2ba8448a
commit
810256f5cb
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
3.0.1
|
||||
|
||||
- fixed: Crash after generating empty frames
|
||||
|
||||
3.0.0
|
||||
|
||||
- Update for Blender 4.0 (Breaking release, removed bgl to use gpu)
|
||||
|
|
|
@ -166,6 +166,7 @@ class GP_OT_create_empty_frames(bpy.types.Operator):
|
|||
gpl.active.frames.new(num, active=False)
|
||||
fct += 1
|
||||
|
||||
gpl.update()
|
||||
if fct:
|
||||
self.report({'INFO'}, f"{fct} frame created on layer {gpl.active.info}")
|
||||
else:
|
||||
|
|
|
@ -4,7 +4,7 @@ bl_info = {
|
|||
"name": "GP toolbox",
|
||||
"description": "Tool set for Grease Pencil in animation production",
|
||||
"author": "Samuel Bernou, Christophe Seux",
|
||||
"version": (3, 0, 0),
|
||||
"version": (3, 0, 1),
|
||||
"blender": (4, 0, 0),
|
||||
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
||||
"warning": "",
|
||||
|
|
Loading…
Reference in New Issue