fix: wrong grease pencil frame after layer update

This commit is contained in:
Swann
2021-01-29 16:29:27 +01:00
parent 589702dab7
commit 86cb3d29fb

View File

@ -226,7 +226,6 @@ def load_layer(layer_data, layer):
load_frame(frame_data, target_frame) load_frame(frame_data, target_frame)
class BlGpencil(BlDatablock): class BlGpencil(BlDatablock):
bl_id = "grease_pencils" bl_id = "grease_pencils"
bl_class = bpy.types.GreasePencil bl_class = bpy.types.GreasePencil
@ -265,6 +264,7 @@ class BlGpencil(BlDatablock):
load_layer(layer_data, target_layer) load_layer(layer_data, target_layer)
target.layers.update()