diff options
Diffstat (limited to 'rigify/rigs/biped/leg')
-rw-r--r-- | rigify/rigs/biped/leg/__init__.py | 1 | ||||
-rw-r--r-- | rigify/rigs/biped/leg/deform.py | 6 | ||||
-rw-r--r-- | rigify/rigs/biped/leg/fk.py | 7 | ||||
-rw-r--r-- | rigify/rigs/biped/leg/ik.py | 3 |
4 files changed, 7 insertions, 10 deletions
diff --git a/rigify/rigs/biped/leg/__init__.py b/rigify/rigs/biped/leg/__init__.py index 8f9286c7..21c5fa2b 100644 --- a/rigify/rigs/biped/leg/__init__.py +++ b/rigify/rigs/biped/leg/__init__.py @@ -19,7 +19,6 @@ import bpy import imp from . import fk, ik, deform -from rigify.utils import MetarigError, get_layers imp.reload(fk) imp.reload(ik) diff --git a/rigify/rigs/biped/leg/deform.py b/rigify/rigs/biped/leg/deform.py index bb6b6f39..d0f98e4a 100644 --- a/rigify/rigs/biped/leg/deform.py +++ b/rigify/rigs/biped/leg/deform.py @@ -17,10 +17,10 @@ #======================= END GPL LICENSE BLOCK ======================== import bpy -from math import acos, degrees +from math import acos from mathutils import Vector, Matrix from rigify.utils import MetarigError -from rigify.utils import copy_bone, flip_bone, put_bone +from rigify.utils import copy_bone, put_bone from rigify.utils import connected_children_names, has_connected_children from rigify.utils import strip_org, make_mechanism_name, make_deformer_name @@ -231,7 +231,7 @@ class Rig: thigh1_p = pb[thigh1] if self.use_shin_twist: shin2_p = pb[shin2] - foot_p = pb[foot] + # foot_p = pb[foot] # UNUSED # Thigh constraints if self.use_thigh_twist: diff --git a/rigify/rigs/biped/leg/fk.py b/rigify/rigs/biped/leg/fk.py index f2ce6653..0e51b501 100644 --- a/rigify/rigs/biped/leg/fk.py +++ b/rigify/rigs/biped/leg/fk.py @@ -17,12 +17,11 @@ #======================= END GPL LICENSE BLOCK ======================== import bpy -import math from mathutils import Vector from rigify.utils import MetarigError -from rigify.utils import copy_bone, flip_bone, put_bone +from rigify.utils import copy_bone from rigify.utils import connected_children_names, has_connected_children -from rigify.utils import strip_org, make_mechanism_name, make_deformer_name +from rigify.utils import strip_org, make_mechanism_name from rigify.utils import get_layers from rigify.utils import create_widget, create_limb_widget from rna_prop_ui import rna_idprop_ui_prop_get @@ -162,7 +161,7 @@ class Rig: hinge_p = pb[hinge] if self.org_parent != None: - socket1_p = pb[socket1] + # socket1_p = pb[socket1] # UNUSED socket2_p = pb[socket2] # Set the knee to only bend on the x-axis. diff --git a/rigify/rigs/biped/leg/ik.py b/rigify/rigs/biped/leg/ik.py index 54869b8e..806de417 100644 --- a/rigify/rigs/biped/leg/ik.py +++ b/rigify/rigs/biped/leg/ik.py @@ -23,7 +23,6 @@ from rigify.utils import MetarigError from rigify.utils import copy_bone, flip_bone, put_bone from rigify.utils import connected_children_names, has_connected_children from rigify.utils import strip_org, make_mechanism_name, insert_before_lr -from rigify.utils import get_layers from rigify.utils import create_widget, create_line_widget, create_sphere_widget, create_circle_widget from rna_prop_ui import rna_idprop_ui_prop_get @@ -322,7 +321,7 @@ class Rig: bpy.ops.object.mode_set(mode='OBJECT') pb = self.obj.pose.bones - thigh_p = pb[thigh] + # thigh_p = pb[thigh] # UNUSED shin_p = pb[shin] foot_p = pb[foot] pole_p = pb[pole] |