Fix an overwrite parent of property bone by Limb BipedLeg always. #145

Merged
Demeter Dzadik merged 1 commits from Shirakawa_StudioQ/CloudRig:fix_cloud_leg_property_bone_parent into master 2024-05-30 15:13:46 +02:00

View File

@ -238,7 +238,8 @@ class Component_Limb_BipedLeg(Component_Limb):
custom_shape_name='Roll_Flat', custom_shape_name='Roll_Flat',
use_custom_shape_bone_size=True, use_custom_shape_bone_size=True,
) )
self.properties_bone.parent = roll_ctrl if self.params.custom_props.props_storage == "GENERATED":
self.properties_bone.parent = roll_ctrl
# Limit Rotation, lock other transforms # Limit Rotation, lock other transforms
self.lock_transforms(roll_ctrl, rot=False) self.lock_transforms(roll_ctrl, rot=False)
roll_ctrl.add_constraint( roll_ctrl.add_constraint(