Changeset View
Changeset View
Standalone View
Standalone View
rigify/legacy/rigs/pitchipoy/simple_tentacle.py
| import bpy | import bpy | ||||
| from ...utils import copy_bone | from ...utils import copy_bone | ||||
| from ...utils import strip_org, make_deformer_name, connected_children_names | from ...utils import strip_org, make_deformer_name, connected_children_names | ||||
| from ...utils import make_mechanism_name, put_bone, create_sphere_widget | from ...utils import put_bone, create_sphere_widget | ||||
| from ...utils import create_widget, create_circle_widget | from ...utils import create_circle_widget | ||||
| from ...utils import MetarigError | from ...utils import MetarigError | ||||
| from rna_prop_ui import rna_idprop_ui_prop_get | |||||
| class Rig: | class Rig: | ||||
| def __init__(self, obj, bone_name, params): | def __init__(self, obj, bone_name, params): | ||||
| self.obj = obj | self.obj = obj | ||||
| self.org_bones = [bone_name] + connected_children_names(obj, bone_name) | self.org_bones = [bone_name] + connected_children_names(obj, bone_name) | ||||
| self.params = params | self.params = params | ||||
| ▲ Show 20 Lines • Show All 335 Lines • Show Last 20 Lines | |||||