VR: Enable mocap object bindings by default

This commit is contained in:
Peter Kim 2021-08-26 19:54:06 +09:00
parent 850d2a45ce
commit dcdbf833da
1 changed files with 3 additions and 0 deletions

View File

@ -1566,6 +1566,9 @@ class VIEW3D_OT_vr_mocap_object_add(Operator):
if not mocap_ob:
return {'CANCELLED'}
# Enable object binding by default.
mocap_ob.enable = True
context.scene.vr_mocap_objects.add()
# Select newly created object.