Compare commits
No commits in common. "c7df358fe8d54c3b45bb98199b20e625c907aae8" and "30064faf3de38d0f018d115277d9dea8243f3e8f" have entirely different histories.
c7df358fe8
...
30064faf3d
@ -48,10 +48,11 @@ class RP_OT_create_shape(Operator):
|
||||
|
||||
mesh.from_pydata(verts, edges, faces)
|
||||
|
||||
picker_selected_cols = [col for col in bpy.data.collections if col.rig_picker.link_shape]
|
||||
|
||||
for col in picker_selected_cols or [scn.collection]:
|
||||
col.objects.link(ob)
|
||||
for col in bpy.data.collections:
|
||||
if col.rig_picker.link_shape:
|
||||
col.objects.link(ob)
|
||||
else:
|
||||
scn.collection.objects.link(ob)
|
||||
|
||||
ob.location.z = 0.05
|
||||
ob.location.x = offset
|
||||
|
Loading…
x
Reference in New Issue
Block a user