Fix T61598: Python error from connect rigid body feature
needed update to 2.8
This commit is contained in:
parent
0df17bc9c9
commit
0a2e59a726
Notes:
blender-bot
2023-02-14 06:05:22 +01:00
Referenced by issue #61598, Blender 2.8 - Python error from connect rigid body feature
|
@ -264,7 +264,7 @@ class ConnectRigidBodies(Operator):
|
|||
|
||||
ob = bpy.data.objects.new("Constraint", object_data=None)
|
||||
ob.location = loc
|
||||
context.scene.objects.link(ob)
|
||||
context.scene.collection.objects.link(ob)
|
||||
context.view_layer.objects.active = ob
|
||||
ob.select_set(True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue