Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/rigify
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-01-05 17:27:33 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-01-05 17:46:41 +0300
commitd68dca98ce6705dd69285692f3cdc1dbf2213c1d (patch)
tree293ad05d82522964478ddacb22e56f831194043c /rigify
parentb1cec919ec7d255c29d31bc21c91d98e0d118182 (diff)
Cleanup: fix typos in source code
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D5801
Diffstat (limited to 'rigify')
-rw-r--r--rigify/rigs/face/skin_eye.py4
-rw-r--r--rigify/rigs/skin/skin_nodes.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/rigify/rigs/face/skin_eye.py b/rigify/rigs/face/skin_eye.py
index 498a90c4..da4da1e5 100644
--- a/rigify/rigs/face/skin_eye.py
+++ b/rigify/rigs/face/skin_eye.py
@@ -208,7 +208,7 @@ class Rig(BaseSkinRig):
self.bones.org,
distance=(node.point - self.center).length,
limit_mode='LIMITDIST_ONSURFACE', use_transform_limit=True,
- # Use custom space to accomodate scaling
+ # Use custom space to accommodate scaling
space='CUSTOM', space_object=self.obj, space_subtarget=self.bones.org,
# Don't allow reordering this limit and subsequent offsets
ensure_order=True,
@@ -223,7 +223,7 @@ class Rig(BaseSkinRig):
node.control_bone, 'LIMIT_DISTANCE', self.bones.org,
distance=(node.point - self.center).length,
limit_mode='LIMITDIST_ONSURFACE', use_transform_limit=True,
- # Use custom space to accomodate scaling
+ # Use custom space to accommodate scaling
space='CUSTOM', space_object=self.obj, space_subtarget=self.bones.org,
)
diff --git a/rigify/rigs/skin/skin_nodes.py b/rigify/rigs/skin/skin_nodes.py
index 7d3f65eb..6dec06e8 100644
--- a/rigify/rigs/skin/skin_nodes.py
+++ b/rigify/rigs/skin/skin_nodes.py
@@ -162,7 +162,7 @@ class ControlBoneNode(MainMergeNode, BaseSkinNode):
return -abs(self.layer - other.layer) - 100
def is_better_cluster(self, other):
- """Check if the current bone is preferrable as master when choosing of same sized groups."""
+ """Check if the current bone is preferable as master when choosing of same sized groups."""
# Prefer bones that have strictly more parents
my_parents = list(reversed(get_parent_rigs(self.rig.rigify_parent)))