Changeset View
Changeset View
Standalone View
Standalone View
rigify/legacy/rigs/pitchipoy/super_copy.py
| Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | def generate(self): | ||||
| create_circle_widget(self.obj, bone, radius = 0.5 ) | create_circle_widget(self.obj, bone, radius = 0.5 ) | ||||
| else: | else: | ||||
| create_bone_widget(self.obj, bone, radius = 0.5 ) | create_bone_widget(self.obj, bone, radius = 0.5 ) | ||||
| def add_parameters(params): | def add_parameters(params): | ||||
| """ Add the parameters of this rig type to the | """ Add the parameters of this rig type to the | ||||
| RigifyParameters PropertyGroup | RigifyParameters PropertyGroup | ||||
| """ | """ | ||||
| params.make_control = bpy.props.BoolProperty( | params.make_control: bpy.props.BoolProperty( | ||||
| name = "Control", | name = "Control", | ||||
| default = True, | default = True, | ||||
| description = "Create a control bone for the copy" | description = "Create a control bone for the copy" | ||||
| ) | ) | ||||
| params.make_widget = bpy.props.BoolProperty( | params.make_widget = bpy.props.BoolProperty( | ||||
| name = "Widget", | name = "Widget", | ||||
| default = True, | default = True, | ||||
| ▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines | |||||