fix: shape geometry link behavior. #2
@ -48,9 +48,9 @@ class RP_OT_create_shape(Operator):
|
||||
|
||||
mesh.from_pydata(verts, edges, faces)
|
||||
|
||||
picker_cols = [col for col in bpy.data.collections if col.rig_picker.link_shape]
|
||||
picker_selected_cols = [col for col in bpy.data.collections if col.rig_picker.link_shape]
|
||||
|
||||
for col in picker_cols or [scn.collection]:
|
||||
for col in picker_selected_cols or [scn.collection]:
|
||||
col.objects.link(ob)
|
||||
|
||||
ob.location.z = 0.05
|
||||
|
Loading…
x
Reference in New Issue
Block a user