Skip to content
Snippets Groups Projects
Commit 5092eeaa authored by Bastien Montagne's avatar Bastien Montagne
Browse files

Spell and typo fixes.

parent 94e23455
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ def createIvyGeometry(IVY, growLeaves):
node = root.ivyNodes[i]
nodeNext = root.ivyNodes[i + 1]
# Find the weight and normalise the smooth adhesion vector
# Find the weight and normalize the smooth adhesion vector
weight = pow(node.length * prevIvyLength, 0.7)
# Calculate the ground ivy and the new weight
......@@ -276,7 +276,7 @@ class Ivy:
self.maxAdhesionDistance = maxAdhesionDistance
self.maxLength = 0.0
# Normalise all the weights only on intialisation
# Normalize all the weights only on intialisation
sum = self.primaryWeight + self.randomWeight + self.adhesionWeight
self.primaryWeight /= sum
self.randomWeight /= sum
......@@ -312,7 +312,7 @@ class Ivy:
# Set the primary direction from the last node
primaryVector = prevIvy.primaryDir
# Make the random vector and normalise
# Make the random vector and normalize
randomVector = Vector((rand_val() - 0.5, rand_val() - 0.5,
rand_val() - 0.5)) + Vector((0, 0, 0.2))
randomVector.normalize()
......
......@@ -81,8 +81,8 @@ class ImportPLY(bpy.types.Operator, ImportHelper):
class ExportPLY(bpy.types.Operator, ExportHelper):
"""Export a single object as a stanford PLY with normals, """ \
"""colours and texture coordinates"""
"""Export a single object as a Stanford PLY with normals, """ \
"""colors and texture coordinates"""
bl_idname = "export_mesh.ply"
bl_label = "Export PLY"
......
......@@ -433,7 +433,7 @@ class OBJECT_OT_RetargetButton(bpy.types.Operator):
# has an action for retargeting
"""Retarget animation from selected armature to active armature"""
bl_idname = "mocap.retarget"
bl_label = "Retarget active action from Performer to Enduser"
bl_label = "Retarget active action from Performer to End-user"
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):
......@@ -471,7 +471,7 @@ class OBJECT_OT_SaveMappingButton(bpy.types.Operator):
#Operator for saving mapping to enduser armature
"""Save mapping to active armature (for future retargets)"""
bl_idname = "mocap.savemapping"
bl_label = "Save user generated mapping from Performer to Enduser"
bl_label = "Save user generated mapping from Performer to End-user"
def execute(self, context):
enduser_obj = bpy.context.active_object
......@@ -494,7 +494,7 @@ class OBJECT_OT_LoadMappingButton(bpy.types.Operator):
"""Load saved mapping from active armature"""
#Operator for loading mapping to enduser armature
bl_idname = "mocap.loadmapping"
bl_label = "Load user generated mapping from Performer to Enduser"
bl_label = "Load user generated mapping from Performer to End-user"
def execute(self, context):
enduser_obj = bpy.context.active_object
......@@ -780,7 +780,7 @@ class OBJECT_OT_GuessHierachyMapping(bpy.types.Operator):
#Operator which calls heurisitic function to guess mapping between 2 armatures
"""Attempt to auto figure out hierarchy mapping"""
bl_idname = "mocap.guessmapping"
bl_label = "Attemp to auto figure out hierarchy mapping"
bl_label = "Attempt to auto figure out hierarchy mapping"
def execute(self, context):
enduser_obj = bpy.context.active_object
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment