Changeset View
Changeset View
Standalone View
Standalone View
rigify/legacy/rigs/pitchipoy/limbs/arm.py
| Show All 12 Lines | |||||
| # You should have received a copy of the GNU General Public License | # You should have received a copy of the GNU General Public License | ||||
| # along with this program; if not, write to the Free Software Foundation, | # along with this program; if not, write to the Free Software Foundation, | ||||
| # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| # | # | ||||
| #======================= END GPL LICENSE BLOCK ======================== | #======================= END GPL LICENSE BLOCK ======================== | ||||
| # <pep8 compliant> | # <pep8 compliant> | ||||
| import bpy | import bpy | ||||
| from ....utils import MetarigError | from ....utils import copy_bone | ||||
| from ....utils import create_widget, copy_bone | from .limb_utils import get_bone_name, make_constraint | ||||
| from ....utils import strip_org | |||||
| from .limb_utils import * | |||||
| from ..super_widgets import create_hand_widget | from ..super_widgets import create_hand_widget | ||||
| from .....utils.mechanism import make_property | from .....utils.mechanism import make_property | ||||
| def create_arm( cls, bones ): | def create_arm( cls, bones ): | ||||
| org_bones = cls.org_bones | org_bones = cls.org_bones | ||||
| bpy.ops.object.mode_set(mode='EDIT') | bpy.ops.object.mode_set(mode='EDIT') | ||||
| ▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines | |||||