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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-10-14 20:52:42 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-10-14 20:52:42 +0300
commit99d2c979a9bd4b38d618696c83cb02fd6d8083ae (patch)
treefab66f8a3bb0854c4403e3335b253357cf3fb54c
parenta2e69343eb0893f4e4d404d20ba4c2f66d01f40a (diff)
Cleanup: fix typos
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D16234
-rw-r--r--add_mesh_extra_objects/add_mesh_rocks/rockgen.py2
-rw-r--r--add_mesh_extra_objects/add_mesh_rocks/utils.py4
-rw-r--r--add_mesh_extra_objects/add_mesh_supertoroid.py2
-rw-r--r--ant_landscape/ant_functions.py2
-rw-r--r--io_anim_bvh/import_bvh.py2
-rw-r--r--io_coat3D/tex.py4
-rw-r--r--io_coat3D/texVR.py4
-rw-r--r--io_curve_svg/import_svg.py2
-rwxr-xr-xio_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py2
-rw-r--r--io_scene_x3d/export_x3d.py2
-rw-r--r--magic_uv/op/texture_projection.py2
-rw-r--r--magic_uv/op/texture_wrap.py2
-rw-r--r--materials_utils/functions.py2
-rw-r--r--materials_utils/operators.py2
-rw-r--r--measureit/__init__.py2
-rw-r--r--measureit/measureit_main.py4
-rw-r--r--mesh_bsurfaces.py2
-rw-r--r--mesh_inset/geom.py2
-rw-r--r--mesh_looptools.py8
-rw-r--r--mesh_snap_utilities_line/__init__.py4
-rw-r--r--mesh_tools/mesh_offset_edges.py2
-rw-r--r--node_wrangler.py4
-rw-r--r--precision_drawing_tools/pdt_functions.py2
-rw-r--r--precision_drawing_tools/pdt_msg_strings.py2
-rw-r--r--render_povray/model_meta_topology.py2
-rw-r--r--render_povray/nodes.py6
26 files changed, 37 insertions, 37 deletions
diff --git a/add_mesh_extra_objects/add_mesh_rocks/rockgen.py b/add_mesh_extra_objects/add_mesh_rocks/rockgen.py
index d0138787..8269e126 100644
--- a/add_mesh_extra_objects/add_mesh_rocks/rockgen.py
+++ b/add_mesh_extra_objects/add_mesh_rocks/rockgen.py
@@ -809,7 +809,7 @@ def generateRocks(context, scaleX, skewX, scaleY, skewY, scaleZ, skewZ,
rocks = []
for i in range(numOfRocks):
- # todo: enable different random values for each (x,y,z) corrdinate for
+ # todo: enable different random values for each (x,y,z) coordinate for
# each vertex. This will add additional randomness to the shape of the
# generated rocks.
# *** todo completed 4/19/2011 ***
diff --git a/add_mesh_extra_objects/add_mesh_rocks/utils.py b/add_mesh_extra_objects/add_mesh_rocks/utils.py
index d41e87c5..46149ceb 100644
--- a/add_mesh_extra_objects/add_mesh_rocks/utils.py
+++ b/add_mesh_extra_objects/add_mesh_rocks/utils.py
@@ -76,7 +76,7 @@ except:
# a continuous distribution curve but instead acts as a piecewise finction.
# This linearly scales the output on one side to fit the bounds.
#
-# Example output historgrams:
+# Example output histograms:
#
# Upper skewed: Lower skewed:
# | ▄ | _
@@ -92,7 +92,7 @@ except:
# | _▄_ ▄███████████████▄_ | _▄███████████████▄▄_
# ------------------------- -----------------------
# |mu |mu
-# Historgrams were generated in R (http://www.r-project.org/) based on the
+# Histograms were generated in R (http://www.r-project.org/) based on the
# calculations below and manually duplicated here.
#
# param: mu - mu is the mean of the distribution.
diff --git a/add_mesh_extra_objects/add_mesh_supertoroid.py b/add_mesh_extra_objects/add_mesh_supertoroid.py
index e325cffc..68fdeb4d 100644
--- a/add_mesh_extra_objects/add_mesh_supertoroid.py
+++ b/add_mesh_extra_objects/add_mesh_supertoroid.py
@@ -99,7 +99,7 @@ def supertoroid(R, r, u, v, n1, n2):
# x = (cos(theta) ** n1)*(R + r * (cos(phi) ** n2))
# y = (sin(theta) ** n1)*(R + r * (cos(phi) ** n2))
# z = (r * sin(phi) ** n2)
- # with theta and phi rangeing from 0 to 2pi
+ # with theta and phi ranging from 0 to 2pi
for i in range(u):
s = power(sin(i * a), n1)
diff --git a/ant_landscape/ant_functions.py b/ant_landscape/ant_functions.py
index 1337533c..f50cb41a 100644
--- a/ant_landscape/ant_functions.py
+++ b/ant_landscape/ant_functions.py
@@ -660,7 +660,7 @@ def draw_ant_water(self, context):
col.prop(self, "water_level")
-# Store propereties
+# Store properties
def store_properties(operator, ob):
ob.ant_landscape.ant_terrain_name = operator.ant_terrain_name
ob.ant_landscape.at_cursor = operator.at_cursor
diff --git a/io_anim_bvh/import_bvh.py b/io_anim_bvh/import_bvh.py
index 6fcb5067..1392e74f 100644
--- a/io_anim_bvh/import_bvh.py
+++ b/io_anim_bvh/import_bvh.py
@@ -101,7 +101,7 @@ def read_bvh(context, file_path, rotate_mode='XYZ', global_scale=1.0):
# Separate into a list of lists, each line a list of words.
file_lines = file.readlines()
- # Non standard carrage returns?
+ # Non standard carriage returns?
if len(file_lines) == 1:
file_lines = file_lines[0].split('\r')
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index b7f7b70b..5fe80574 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -77,7 +77,7 @@ def testi(objekti, texture_info, index_mat_name, uv_MODE_mat, mat_index):
def readtexturefolder(objekti, mat_list, texturelist, is_new, udim_textures, udim_len): #read textures from texture file
- # Let's check are we UVSet or MATERIAL modee
+ # Let's check are we UVSet or MATERIAL mode
create_nodes = False
for ind, index_mat in enumerate(objekti.material_slots):
@@ -638,7 +638,7 @@ def createExtraNodes(act_material, node, type):
def matlab(objekti,mat_list,texturelist,is_new):
- # FBX Materials: remove all nodes and create princibles node
+ # FBX Materials: remove all nodes and create principle node
if(is_new):
RemoveFbxNodes(objekti)
diff --git a/io_coat3D/texVR.py b/io_coat3D/texVR.py
index 1b5263c4..83e04f6f 100644
--- a/io_coat3D/texVR.py
+++ b/io_coat3D/texVR.py
@@ -132,7 +132,7 @@ def updatetextures(objekti): # Update 3DC textures
def readtexturefolder(objekti, mat_list, texturelist, is_new, udim_textures): #read textures from texture file
- # Let's check are we UVSet or MATERIAL modee
+ # Let's check are we UVSet or MATERIAL mode
create_nodes = False
for ind, index_mat in enumerate(objekti.material_slots):
@@ -801,7 +801,7 @@ def matlab(objekti,mat_list,texturelist,is_new):
print('Welcome facture matlab function')
- ''' FBX Materials: remove all nodes and create princibles node'''
+ ''' FBX Materials: remove all nodes and create principle node'''
if(is_new):
RemoveFbxNodes(objekti)
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py
index d407ecc8..c6461852 100644
--- a/io_curve_svg/import_svg.py
+++ b/io_curve_svg/import_svg.py
@@ -161,7 +161,7 @@ def SVGParseTransform(transform):
proc = SVGTransforms.get(func)
if proc is None:
- raise Exception('Unknown trasnform function: ' + func)
+ raise Exception('Unknown transform function: ' + func)
m = m @ proc(params)
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py
index 33af9b3e..5f81c995 100755
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py
@@ -40,7 +40,7 @@ def gather_channels_baked(obj_uuid, frame_range, export_settings):
start_frame, end_frame = frame_range
# use action if exists, else obj_uuid
- # When an object need some forced baked, there are 2 situtations:
+ # When an object need some forced baked, there are 2 situations:
# - Non animated object, but there are some selection, so we need to bake
# - Object parented to bone. So we need to bake, because of inverse transforms on non default TRS armatures
# In this last case, there are 2 situations :
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py
index e6cbd80c..0b4c52bb 100644
--- a/io_scene_x3d/export_x3d.py
+++ b/io_scene_x3d/export_x3d.py
@@ -266,7 +266,7 @@ def export(file,
# store files to copy
copy_set = set()
- # store names of newly cerated meshes, so we dont overlap
+ # store names of newly created meshes, so we dont overlap
mesh_name_set = set()
fw = file.write
diff --git a/magic_uv/op/texture_projection.py b/magic_uv/op/texture_projection.py
index d1ec96c3..cdd1e4b1 100644
--- a/magic_uv/op/texture_projection.py
+++ b/magic_uv/op/texture_projection.py
@@ -217,7 +217,7 @@ class _Properties:
)
scene.muv_texture_projection_adjust_window = BoolProperty(
name="Adjust Window",
- description="Scale of renderered texture is fitted to window",
+ description="Scale of rendered texture is fitted to window",
default=True
)
scene.muv_texture_projection_apply_tex_aspect = BoolProperty(
diff --git a/magic_uv/op/texture_wrap.py b/magic_uv/op/texture_wrap.py
index 80db3296..bd454ff8 100644
--- a/magic_uv/op/texture_wrap.py
+++ b/magic_uv/op/texture_wrap.py
@@ -246,7 +246,7 @@ class MUV_OT_TextureWrap_Set(bpy.types.Operator):
cv0, cv1, ov)
info["vert_vdiff"] = x - common_verts[0]["vert"].co
- # calclulate factor
+ # calculate factor
fact_h = -info["vert_hdiff"].length / \
ref_info["vert_hdiff"].length
fact_v = info["vert_vdiff"].length / \
diff --git a/materials_utils/functions.py b/materials_utils/functions.py
index 93d700d8..e771fc6b 100644
--- a/materials_utils/functions.py
+++ b/materials_utils/functions.py
@@ -272,7 +272,7 @@ def mu_select_by_material_name(self, find_material_name, extend_selection = Fals
if active_object.type == 'MESH':
# if not extending the selection, deselect all first
# (Without this, edges/faces were still selected
- # while the faces were deselcted)
+ # while the faces were deselected)
if not extend_selection:
bpy.ops.mesh.select_all(action = 'DESELECT')
diff --git a/materials_utils/operators.py b/materials_utils/operators.py
index 98eab763..dbb5de6a 100644
--- a/materials_utils/operators.py
+++ b/materials_utils/operators.py
@@ -720,7 +720,7 @@ class MATERIAL_OT_materialutilities_auto_smooth_angle(bpy.types.Operator):
set_smooth_shading: BoolProperty(
name = "Set Smooth",
description = "Set Smooth shading for the affected objects\n"
- "This overrides the currenth smooth/flat shading that might be set to different parts of the object",
+ "This overrides the current smooth/flat shading that might be set to different parts of the object",
default = True
)
diff --git a/measureit/__init__.py b/measureit/__init__.py
index c7f4fc7e..8868d835 100644
--- a/measureit/__init__.py
+++ b/measureit/__init__.py
@@ -305,7 +305,7 @@ def register():
Scene.measureit_debug = BoolProperty(name="Debug",
description="Display information for debugging"
" (expand/collapse for enabling or disabling)"
- " this information is only renderered for "
+ " this information is only rendered for "
"selected objects",
default=False)
Scene.measureit_debug_select = BoolProperty(name="Selected",
diff --git a/measureit/measureit_main.py b/measureit/measureit_main.py
index d69ba268..418f32cf 100644
--- a/measureit/measureit_main.py
+++ b/measureit/measureit_main.py
@@ -232,7 +232,7 @@ class MeasureitProperties(PropertyGroup):
default=15, min=6, max=500)
glarc_full: BoolProperty(name="arcfull",
- description="Create full circunference",
+ description="Create full circumference",
default=False)
glarc_extrad: BoolProperty(name="arcextrad",
description="Adapt radio length to arc line",
@@ -554,7 +554,7 @@ def add_item(box, idx, segment):
if segment.gltype == 1:
row.prop(segment, 'glorto', text="Orthogonal")
row.prop(segment, 'glocwarning', text="Warning")
- # ortogonal (only segments)
+ # orthogonal (only segments)
if segment.gltype == 1:
if segment.glorto != "99":
row = box.row(align=True)
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py
index c980ed04..d87707c5 100644
--- a/mesh_bsurfaces.py
+++ b/mesh_bsurfaces.py
@@ -2560,7 +2560,7 @@ class MESH_OT_SURFSK_add_surface(Operator):
loop_segments_lengths = []
for st in range(len(pts_on_strokes_with_proportions_U)):
- # When on the first stroke, add the segment from the selection to the dirst stroke
+ # When on the first stroke, add the segment from the selection to the first stroke
if st == 0:
loop_segments_lengths.append(
((self.main_object.matrix_world @ verts_ordered_U[lp].co) -
diff --git a/mesh_inset/geom.py b/mesh_inset/geom.py
index d69eb4b6..9dbb98bb 100644
--- a/mesh_inset/geom.py
+++ b/mesh_inset/geom.py
@@ -559,7 +559,7 @@ def PointInside(v, a, points):
def SignedArea(polygon, points):
- """Return the area of the polgon, positive if CCW, negative if CW.
+ """Return the area of the polygon, positive if CCW, negative if CW.
Args:
polygon: list of vertex indices
diff --git a/mesh_looptools.py b/mesh_looptools.py
index 5bd663d4..03473cc1 100644
--- a/mesh_looptools.py
+++ b/mesh_looptools.py
@@ -3942,7 +3942,7 @@ class GStretch(Operator):
conversion_max: IntProperty(
name="Max Vertices",
description="Maximum number of vertices strokes will "
- "have, when they are converted to geomtery",
+ "have, when they are converted to geometry",
default=32,
min=3,
soft_max=500,
@@ -3951,7 +3951,7 @@ class GStretch(Operator):
conversion_min: IntProperty(
name="Min Vertices",
description="Minimum number of vertices strokes will "
- "have, when they are converted to geomtery",
+ "have, when they are converted to geometry",
default=8,
min=3,
soft_max=500,
@@ -5000,7 +5000,7 @@ class LoopToolsProps(PropertyGroup):
gstretch_conversion_max: IntProperty(
name="Max Vertices",
description="Maximum number of vertices strokes will "
- "have, when they are converted to geomtery",
+ "have, when they are converted to geometry",
default=32,
min=3,
soft_max=500,
@@ -5009,7 +5009,7 @@ class LoopToolsProps(PropertyGroup):
gstretch_conversion_min: IntProperty(
name="Min Vertices",
description="Minimum number of vertices strokes will "
- "have, when they are converted to geomtery",
+ "have, when they are converted to geometry",
default=8,
min=3,
soft_max=500,
diff --git a/mesh_snap_utilities_line/__init__.py b/mesh_snap_utilities_line/__init__.py
index bdad1f97..1456ef0f 100644
--- a/mesh_snap_utilities_line/__init__.py
+++ b/mesh_snap_utilities_line/__init__.py
@@ -71,7 +71,7 @@ def tool_line():
# -----------------------------------------------------------------------------
-# Tool Registraion
+# Tool Registration
def get_tool_list(space_type, context_mode):
@@ -149,7 +149,7 @@ def unregister_keymaps():
# -----------------------------------------------------------------------------
-# Addon Registraion
+# Addon Registration
classes = (
preferences.SnapUtilitiesPreferences,
diff --git a/mesh_tools/mesh_offset_edges.py b/mesh_tools/mesh_offset_edges.py
index b2559baf..79341c79 100644
--- a/mesh_tools/mesh_offset_edges.py
+++ b/mesh_tools/mesh_offset_edges.py
@@ -152,7 +152,7 @@ def get_adj_faces(edges):
co_adj = 0
for f in e.link_faces:
# Search an adjacent face.
- # Selected face has precedance.
+ # Selected face has precedence.
if not f.hide and f.normal != ZERO_VEC:
adj_exist = True
adj_f = f
diff --git a/node_wrangler.py b/node_wrangler.py
index 8b8c5f9c..3b3fd069 100644
--- a/node_wrangler.py
+++ b/node_wrangler.py
@@ -2620,7 +2620,7 @@ class NWAddTextureSetup(Operator, NWBase):
nodes.active = image_texture_node
links.new(image_texture_node.outputs[0], target_input)
- # The mapping setup following this will connect to the firrst input of this image texture.
+ # The mapping setup following this will connect to the first input of this image texture.
target_input = image_texture_node.inputs[0]
node.select = False
@@ -3409,7 +3409,7 @@ class NWAddSequence(Operator, NWBase, ImportHelper):
self.report({'ERROR'}, "No file chosen")
return {'CANCELLED'}
elif files[0].name and (not filename or not path.exists(directory+filename)):
- # User has selected multiple files without an active one, or the active one is non-existant
+ # User has selected multiple files without an active one, or the active one is non-existent
filename = files[0].name
if not path.exists(directory+filename):
diff --git a/precision_drawing_tools/pdt_functions.py b/precision_drawing_tools/pdt_functions.py
index 9352b66f..501d01df 100644
--- a/precision_drawing_tools/pdt_functions.py
+++ b/precision_drawing_tools/pdt_functions.py
@@ -125,7 +125,7 @@ def set_axis(mode_pl):
mode_pl: Taper Axis Selector variable as input
Returns:
- 3 Integer Indicies.
+ 3 Integer Indices.
"""
order = {
diff --git a/precision_drawing_tools/pdt_msg_strings.py b/precision_drawing_tools/pdt_msg_strings.py
index 7392b491..92a20583 100644
--- a/precision_drawing_tools/pdt_msg_strings.py
+++ b/precision_drawing_tools/pdt_msg_strings.py
@@ -12,7 +12,7 @@
"""This file contains all the Message Strings.
Note:
- These strings are called by various programmes in PDT,
+ These strings are called by various programs in PDT,
they can be set to suit individual User requirements.
Args:
diff --git a/render_povray/model_meta_topology.py b/render_povray/model_meta_topology.py
index 47e874c5..e1566c7a 100644
--- a/render_povray/model_meta_topology.py
+++ b/render_povray/model_meta_topology.py
@@ -180,7 +180,7 @@ def export_meta(file, metas, tab_write, DEF_MAT_NAME):
try:
one_material = elems[1].data.materials[
0
- ] # lame! - blender can't do enything else.
+ ] # lame! - blender can't do anything else.
except BaseException as e:
print(e.__doc__)
print('An exception occurred: {}'.format(e))
diff --git a/render_povray/nodes.py b/render_povray/nodes.py
index 8f0303a0..cad2da35 100644
--- a/render_povray/nodes.py
+++ b/render_povray/nodes.py
@@ -469,7 +469,7 @@ class PovrayColorImageNode(Node, nodes_properties.ObjectNodeTree):
("0", "Planar", "Default planar mapping"),
("1", "Spherical", "Spherical mapping"),
("2", "Cylindrical", "Cylindrical mapping"),
- ("5", "Torroidal", "Torus or donut shaped mapping"),
+ ("5", "Toroidal", "Torus or donut shaped mapping"),
),
default="0",
)
@@ -556,7 +556,7 @@ class PovrayBumpMapNode(Node, nodes_properties.ObjectNodeTree):
("0", "Planar", "Default planar mapping"),
("1", "Spherical", "Spherical mapping"),
("2", "Cylindrical", "Cylindrical mapping"),
- ("5", "Torroidal", "Torus or donut shaped mapping"),
+ ("5", "Toroidal", "Torus or donut shaped mapping"),
),
default="0",
)
@@ -636,7 +636,7 @@ class PovrayImagePatternNode(Node, nodes_properties.ObjectNodeTree):
("0", "Planar", "Default planar mapping"),
("1", "Spherical", "Spherical mapping"),
("2", "Cylindrical", "Cylindrical mapping"),
- ("5", "Torroidal", "Torus or donut shaped mapping"),
+ ("5", "Toroidal", "Torus or donut shaped mapping"),
),
default="0",
)