Changeset View
Changeset View
Standalone View
Standalone View
rigify/rigs/faces/super_face.py
| Show First 20 Lines • Show All 1,036 Lines • ▼ Show 20 Lines | def add_parameters(params): | ||||
| # Setting up extra layers for the tweak bones | # Setting up extra layers for the tweak bones | ||||
| params.primary_layers_extra = bpy.props.BoolProperty( | params.primary_layers_extra = bpy.props.BoolProperty( | ||||
| name="primary_layers_extra", | name="primary_layers_extra", | ||||
| default=True, | default=True, | ||||
| description="" | description="" | ||||
| ) | ) | ||||
| params.primary_layers = bpy.props.BoolVectorProperty( | params.primary_layers = bpy.props.BoolVectorProperty( | ||||
| size=32, | size=32, | ||||
| description="Layers for the 1st tweak controls to be on", | description="Layers for the primary controls to be on", | ||||
| default=tuple([i == 1 for i in range(0, 32)]) | default=tuple([i == 1 for i in range(0, 32)]) | ||||
| ) | ) | ||||
| params.secondary_layers_extra = bpy.props.BoolProperty( | params.secondary_layers_extra = bpy.props.BoolProperty( | ||||
| name="secondary_layers_extra", | name="secondary_layers_extra", | ||||
| default=True, | default=True, | ||||
| description="" | description="" | ||||
| ) | ) | ||||
| params.secondary_layers = bpy.props.BoolVectorProperty( | params.secondary_layers = bpy.props.BoolVectorProperty( | ||||
| size=32, | size=32, | ||||
| description="Layers for the 2nd tweak controls to be on", | description="Layers for the secondary controls to be on", | ||||
| default=tuple([i == 1 for i in range(0, 32)]) | default=tuple([i == 1 for i in range(0, 32)]) | ||||
| ) | ) | ||||
| def parameters_ui(layout, params): | def parameters_ui(layout, params): | ||||
| """ Create the ui for the rig parameters.""" | """ Create the ui for the rig parameters.""" | ||||
| layers = ["primary_layers", "secondary_layers"] | layers = ["primary_layers", "secondary_layers"] | ||||
| ▲ Show 20 Lines • Show All 1,369 Lines • Show Last 20 Lines | |||||