From d7d3233715503ecc15b8dd1973f7e73257e2cbda Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 19 Oct 2018 17:59:58 +0200 Subject: Spelling fixes in comments and descriptions, patch by luzpaz. Differential Revision: https://developer.blender.org/D3746 --- rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py | 2 +- rigify/legacy/rigs/pitchipoy/limbs/super_limb.py | 2 +- rigify/legacy/rigs/pitchipoy/super_torso_turbo.py | 4 ++-- rigify/legacy/utils.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'rigify/legacy') diff --git a/rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py b/rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py index ce6a0761..b0b62d79 100644 --- a/rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py +++ b/rigify/legacy/rigs/pitchipoy/limbs/limb_utils.py @@ -29,7 +29,7 @@ def make_constraint( cls, bone, constraint ): constraint['target'] = cls.obj - # filter contraint props to those that actually exist in the currnet + # filter constraint props to those that actually exist in the currnet # type of constraint, then assign values to each for p in [ k for k in constraint.keys() if k in dir(const) ]: if p in dir( const ): diff --git a/rigify/legacy/rigs/pitchipoy/limbs/super_limb.py b/rigify/legacy/rigs/pitchipoy/limbs/super_limb.py index c6f5329f..11bac486 100644 --- a/rigify/legacy/rigs/pitchipoy/limbs/super_limb.py +++ b/rigify/legacy/rigs/pitchipoy/limbs/super_limb.py @@ -165,7 +165,7 @@ class Rig: eb[ mch ].length /= 4 eb[ ctrl ].length /= 2 - # Contraints + # Constraints if self.limb_type == 'paw': for i,b in enumerate( tweaks['mch'] ): diff --git a/rigify/legacy/rigs/pitchipoy/super_torso_turbo.py b/rigify/legacy/rigs/pitchipoy/super_torso_turbo.py index a39d8471..38d5887b 100644 --- a/rigify/legacy/rigs/pitchipoy/super_torso_turbo.py +++ b/rigify/legacy/rigs/pitchipoy/super_torso_turbo.py @@ -408,7 +408,7 @@ class Rig: const = owner_pb.constraints.new( constraint['constraint'] ) const.target = self.obj - # filter contraint props to those that actually exist in the currnet + # filter constraint props to those that actually exist in the currnet # type of constraint, then assign values to each for p in [ k for k in constraint.keys() if k in dir(const) ]: setattr( const, p, constraint[p] ) @@ -554,7 +554,7 @@ class Rig: bpy.ops.object.mode_set(mode ='OBJECT') pb = self.obj.pose.bones - # deform bones bbone segements + # deform bones bbone segments for bone in bones['def'][:-1]: self.obj.data.bones[bone].bbone_segments = 8 diff --git a/rigify/legacy/utils.py b/rigify/legacy/utils.py index cc2d6676..e3927ac3 100644 --- a/rigify/legacy/utils.py +++ b/rigify/legacy/utils.py @@ -749,7 +749,7 @@ def has_connected_children(bone): def get_layers(layers): - """ Does it's best to exctract a set of layers from any data thrown at it. + """ Does it's best to extract a set of layers from any data thrown at it. """ if type(layers) == int: return [x == layers for x in range(0, 32)] -- cgit v1.2.3