fix: greace pencil object vertexgroup dump crash by adding a warning
This commit is contained in:
@ -376,6 +376,9 @@ class BlObject(BlDatablock):
|
||||
|
||||
# VERTEx GROUP
|
||||
if len(instance.vertex_groups) > 0:
|
||||
if isinstance( instance.data, bpy.types.GreasePencil):
|
||||
logging.warning("Grease pencil vertex groups are not supported yet. More info: https://gitlab.com/slumber/multi-user/-/issues/161")
|
||||
else:
|
||||
points_attr = 'vertices' if isinstance(
|
||||
instance.data, bpy.types.Mesh) else 'points'
|
||||
vg_data = []
|
||||
|
Reference in New Issue
Block a user