diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-03-15 20:29:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-03-15 20:31:13 +0300 |
commit | df34f4f1db405c5b8deeb03db0937bee9ba81f42 (patch) | |
tree | 7daaac24ea36db57a8ae0095e5b818190dde4910 /mesh_tissue | |
parent | 2502531bb4ab4a76a876c003dab34951da31e1eb (diff) |
Cleanup: fix source comment typos
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D14312
Diffstat (limited to 'mesh_tissue')
-rw-r--r-- | mesh_tissue/polyhedra.py | 4 | ||||
-rw-r--r-- | mesh_tissue/tessellate_numpy.py | 8 | ||||
-rw-r--r-- | mesh_tissue/utils.py | 2 | ||||
-rw-r--r-- | mesh_tissue/weight_tools.py | 16 |
4 files changed, 15 insertions, 15 deletions
diff --git a/mesh_tissue/polyhedra.py b/mesh_tissue/polyhedra.py index 394d605a..d58f08aa 100644 --- a/mesh_tissue/polyhedra.py +++ b/mesh_tissue/polyhedra.py @@ -174,7 +174,7 @@ class polyhedra_wireframe(Operator): verts1 = [v.index for v in f1.verts] va1 = verts1.index(e.verts[0].index) vb1 = verts1.index(e.verts[1].index) - # chech if order of the edge matches the order of the face + # check if order of the edge matches the order of the face dir1 = va1 == (vb1+1)%len(verts1) edge_vec1 = edge_vec if dir1 else -edge_vec @@ -190,7 +190,7 @@ class polyhedra_wireframe(Operator): verts2 = [v.index for v in f2.verts] va2 = verts2.index(e.verts[0].index) vb2 = verts2.index(e.verts[1].index) - # chech if order of the edge matches the order of the face + # check if order of the edge matches the order of the face dir2 = va2 == (vb2+1)%len(verts2) # check for normal consistency if dir1 != dir2: diff --git a/mesh_tissue/tessellate_numpy.py b/mesh_tissue/tessellate_numpy.py index d3c1fc21..50516b2a 100644 --- a/mesh_tissue/tessellate_numpy.py +++ b/mesh_tissue/tessellate_numpy.py @@ -576,7 +576,7 @@ def tessellate_patch(props): for mat_id, _ob1 in enumerate(components): if _ob1 == None: continue - # Set original values (for next commponents) + # Set original values (for next components) com_modifiers = _com_modifiers bool_shapekeys = _bool_shapekeys @@ -1252,7 +1252,7 @@ class tissue_tessellate(Operator): min=1, soft_max=5, description="Automatically repeat the Tessellation using the " - + "generated geometry as new base object.\nUsefull for " + + "generated geometry as new base object.\nUseful for " + "for branching systems. Dangerous!" ) bool_combine : BoolProperty( @@ -1567,7 +1567,7 @@ class tissue_tessellate(Operator): if no_components: layout = self.layout layout.label(icon='OUTLINER_COLLECTION', text='Components from Active Collection') - layout.label(icon='INFO', text="The Active Collection does not containt any Mesh,") + layout.label(icon='INFO', text="The Active Collection does not contain any Mesh,") layout.label(text="Curve, Surface, Meta or Text object.") return elif self.component_mode == 'MATERIALS': @@ -3725,7 +3725,7 @@ def offset_boundary_materials(bm, boundary_mat_offset=0, boundary_variable_offse bound_verts_value = [0]*len(bm.faces) bound_edges_value = [0]*len(bm.faces) shift_faces = [0]*len(bm.faces) - # store boundaries informations + # store boundaries information for v in bm.verts: if v.is_boundary: for f in v.link_faces: diff --git a/mesh_tissue/utils.py b/mesh_tissue/utils.py index cf43d609..b617ac93 100644 --- a/mesh_tissue/utils.py +++ b/mesh_tissue/utils.py @@ -1432,7 +1432,7 @@ def mod_preserve_shape(mod): def recurLayerCollection(layerColl, collName): ''' - Recursivly transverse layer_collection for a particular name. + Recursively transverse layer_collection for a particular name. ''' found = None if (layerColl.name == collName): diff --git a/mesh_tissue/weight_tools.py b/mesh_tissue/weight_tools.py index d58adc6f..ef83f128 100644 --- a/mesh_tissue/weight_tools.py +++ b/mesh_tissue/weight_tools.py @@ -18,10 +18,10 @@ #-------------------------- COLORS / GROUPS EXCHANGER -------------------------# # # -# Vertex Color to Vertex Group allow you to convert colors channles to weight # +# Vertex Color to Vertex Group allow you to convert colors channels to weight # # maps. # # The main purpose is to use vertex colors to store information when importing # -# files from other softwares. The script works with the active vertex color # +# files from other software. The script works with the active vertex color # # slot. # # For use the command "Vertex Clors to Vertex Groups" use the search bar # # (space bar). # @@ -229,27 +229,27 @@ class reaction_diffusion_prop(PropertyGroup): update_weight_a : BoolProperty( name="Update Vertex Group A", default=True, - description="Tranfer Cache to the Vertex Groups named A") + description="Transfer Cache to the Vertex Groups named A") update_weight_b : BoolProperty( name="Update Vertex Group B", default=True, - description="Tranfer Cache to the Vertex Groups named B") + description="Transfer Cache to the Vertex Groups named B") update_colors_a : BoolProperty( name="Update Vertex Color A", default=False, - description="Tranfer Cache to the Vertex Color named A") + description="Transfer Cache to the Vertex Color named A") update_colors_b : BoolProperty( name="Update Vertex Color B", default=False, - description="Tranfer Cache to the Vertex Color named B") + description="Transfer Cache to the Vertex Color named B") update_colors : BoolProperty( name="Update Vertex Color AB", default=False, - description="Tranfer Cache to the Vertex Color named AB") + description="Transfer Cache to the Vertex Color named AB") update_uv : BoolProperty( name="Update UV", default=False, - description="Tranfer Cache to the UV Map Layer named AB") + description="Transfer Cache to the UV Map Layer named AB") normalize : BoolProperty( name="Normalize values", default=False, |