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
Showing only changes of commit cb052b8bbe - Show all commits

View File

@ -238,6 +238,7 @@ 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,
) )
if self.params.custom_props.props_storage == "GENERATED":
self.properties_bone.parent = roll_ctrl 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)