Changeset View
Changeset View
Standalone View
Standalone View
rigify/legacy/rigs/pitchipoy/super_finger.py
| import bpy | import bpy | ||||
| from mathutils import Vector | |||||
| from ...utils import copy_bone, flip_bone | from ...utils import copy_bone, flip_bone | ||||
| from ...utils import strip_org, make_deformer_name, connected_children_names, make_mechanism_name | from ...utils import strip_org, make_deformer_name, connected_children_names, make_mechanism_name | ||||
| from ...utils import create_circle_widget, create_sphere_widget, create_widget | from ...utils import MetarigError, create_circle_widget, create_widget | ||||
| from ...utils import MetarigError | |||||
| from ....utils.mechanism import make_property | from ....utils.mechanism import make_property | ||||
| script = """ | script = """ | ||||
| controls = [%s] | controls = [%s] | ||||
| master_name = '%s' | master_name = '%s' | ||||
| if is_selected(controls): | if is_selected(controls): | ||||
| layout.prop(pose_bones[master_name], '["%s"]', text="Curvature", slider=True) | layout.prop(pose_bones[master_name], '["%s"]', text="Curvature", slider=True) | ||||
| ▲ Show 20 Lines • Show All 390 Lines • Show Last 20 Lines | |||||