diff --git a/add_mesh_BoltFactory/createMesh.py b/add_mesh_BoltFactory/createMesh.py index e19f15baae723d7d800e59752c3992c8cc777bd6..5a0e8e5976b459697b88393280a379b619db229e 100644 --- a/add_mesh_BoltFactory/createMesh.py +++ b/add_mesh_BoltFactory/createMesh.py @@ -67,7 +67,7 @@ def unpack_face_list(list_of_tuples): """ Remove Doubles takes a list on Verts and a list of Faces and removes the doubles, much like Blender does in edit mode. -It doesn't have the range function but it will round the corrdinates +It doesn't have the range function but it will round the coordinates and remove verts that are very close together. The function is useful because you can perform a "Remove Doubles" with out having to enter Edit Mode. Having to enter edit mode has the @@ -292,7 +292,7 @@ def Fill_Fan_Face(OFFSET, NUM, FACE_DOWN=0): Face = [NUM-1,0,1] TempFace = [0, 0, 0] A = 0 - #B = 1 unsed + #B = 1 unused C = 2 if NUM < 3: return None @@ -1193,7 +1193,7 @@ def Create_12_Point(FLAT, HOLE_DIA, SHANK_DIA, HEIGHT,FLANGE_DIA): v_5Deg_Line.length *= 2 # extende out the line on a 5 deg angle #We cross 2 lines. One from the origin to the 0 Deg point - #and the second is from the orign extended out past the first line + #and the second is from the origin extended out past the first line # This gives the cross point of the v_Cross = geometry.intersect_line_line_2d(v_0_Deg_Point,v_15Deg_Point,v_origin,v_5Deg_Line) dvec = vec2 - Vector([v_Cross.x,v_Cross.y,0.0]) diff --git a/add_mesh_extra_objects/add_mesh_rocks/randomize_texture.py b/add_mesh_extra_objects/add_mesh_rocks/randomize_texture.py index d492c4e5cec73959dfc9aa8d7114e0482c54bce0..3b1c4565edb102d4f43ed33dc3cf500de4c176e7 100644 --- a/add_mesh_extra_objects/add_mesh_rocks/randomize_texture.py +++ b/add_mesh_extra_objects/add_mesh_rocks/randomize_texture.py @@ -26,7 +26,7 @@ def randomizeTexture(texture, level=1): param: texture - bpy.data.texture to modify. level - designated tweaked settings to use - -> Below 10 is a displacment texture + -> Below 10 is a displacement texture -> Between 10 and 20 is a base material texture ''' noises = ['BLENDER_ORIGINAL', 'ORIGINAL_PERLIN', 'IMPROVED_PERLIN', diff --git a/add_mesh_extra_objects/add_mesh_rocks/rockgen.py b/add_mesh_extra_objects/add_mesh_rocks/rockgen.py index 7279d904deb0ee3d551f6c1a991daac9513cc0ce..8e2df338c8041adefc3e32acec66e7ee1c1783e5 100644 --- a/add_mesh_extra_objects/add_mesh_rocks/rockgen.py +++ b/add_mesh_extra_objects/add_mesh_rocks/rockgen.py @@ -84,7 +84,7 @@ # Coded in IDLE, tested in Blender 2.59. NumPy Recommended. # Search for "@todo" to quickly find sections that need work. # -# Remeber - +# Remember - # Functional code comes before fast code. Once it works, then worry about # making it faster/more efficient. # @@ -793,7 +793,7 @@ def generateRocks(context, scaleX, skewX, scaleY, skewY, scaleZ, skewZ, # sigma is the standard deviation of the values. The 95% interval is three # standard deviations, which is what we want most generated values to fall # in. Since it might be skewed we are going to use half the difference - # betwee the mean and the furthest bound and scale the other side down + # between the mean and the furthest bound and scale the other side down # post-number generation. if scaleX[0] != scaleX[1]: skewX = (skewX + 1) / 2 @@ -900,7 +900,7 @@ def generateRocks(context, scaleX, skewX, scaleY, skewY, scaleZ, skewZ, rock.modifiers.new(name="Smooth", type='SMOOTH') rock.modifiers[6].factor = gauss(smooth_fac, (smooth_fac ** 0.5) / 12) rock.modifiers[6].iterations = smooth_it - # Make a call to random to keep things consistant: + # Make a call to random to keep things consistent: else: gauss(0, 1) @@ -1021,7 +1021,7 @@ class OBJECT_OT_add_mesh_rock(bpy.types.Operator): min=-1.0, max=1.0, default=defaults[6]) use_scale_dis: BoolProperty( name="Scale displace textures", - description="Scale displacement textures with dimensions. May cause streched textures", + description="Scale displacement textures with dimensions. May cause stretched textures", default=defaults[7]) scale_fac: FloatVectorProperty( name="Scaling Factor", diff --git a/add_mesh_extra_objects/add_mesh_rocks/utils.py b/add_mesh_extra_objects/add_mesh_rocks/utils.py index 64e2daf4e9761d76bddba1b06ae421e3689c9f46..1da48655ac84655003435d86a3a805792a0fcacb 100644 --- a/add_mesh_extra_objects/add_mesh_rocks/utils.py +++ b/add_mesh_extra_objects/add_mesh_rocks/utils.py @@ -21,7 +21,7 @@ # <pep8 compliant> -# Converts a formated string to a float tuple: +# Converts a formatted string to a float tuple: # IN - '(0.5, 0.2)' -> CONVERT -> OUT - (0.5, 0.2) def toTuple(stringIn): sTemp = str(stringIn)[1:len(str(stringIn)) - 1].split(', ') @@ -31,7 +31,7 @@ def toTuple(stringIn): return tuple(fTemp) -# Converts a formated string to a float tuple: +# Converts a formatted string to a float tuple: # IN - '[0.5, 0.2]' -> CONVERT -> OUT - [0.5, 0.2] def toList(stringIn): sTemp = str(stringIn)[1:len(str(stringIn)) - 1].split(', ') @@ -93,7 +93,7 @@ except: # from random import weibullvariate as weibull print("Rock Generator: Numpy not found. Using Python's random.") numpy = False -# Artifically skews a normal (gaussian) distribution. This will not create +# Artificially skews a normal (gaussian) distribution. This will not create # a continuous distribution curve but instead acts as a piecewise finction. # This linearly scales the output on one side to fit the bounds. # diff --git a/amaranth/render/render_output_z.py b/amaranth/render/render_output_z.py index bbde91ffff8056da650c9f9026ffd2a5814c1ce6..2c1107edd41b1694ae625d2f1018b370ea4d4b47 100644 --- a/amaranth/render/render_output_z.py +++ b/amaranth/render/render_output_z.py @@ -17,7 +17,7 @@ Display a little warning label when exporting EXR, with Z Buffer enabled, but forgot to plug the Z input in the Compositor. Might be a bit too specific, but found it nice to remember to plug the Z input -if we explicitely specify for Z Buffers to be saved (because it's disabled by +if we explicitly specify for Z Buffers to be saved (because it's disabled by default). Find it on the Output panel, Render properties. diff --git a/archimesh/achm_kitchen_maker.py b/archimesh/achm_kitchen_maker.py index 28118259303c50b2abf6bd3898298f82c81dd1d7..cc1e6ef8892a4a58ba215eeb1d5141535e586ee7 100644 --- a/archimesh/achm_kitchen_maker.py +++ b/archimesh/achm_kitchen_maker.py @@ -2542,7 +2542,7 @@ def handle_model_08(): # ---------------------------------------------- -# Creaate SKU code for inventory +# Create SKU code for inventory # ---------------------------------------------- def createunitsku(self, cabinet): # ------------------ diff --git a/curve_tools/cad.py b/curve_tools/cad.py index dd11b4c732f1a253f8e9be88c18995c090dbec8a..ae96f869e697a9df449c38b75760746103084fb2 100644 --- a/curve_tools/cad.py +++ b/curve_tools/cad.py @@ -37,7 +37,7 @@ class Fillet(bpy.types.Operator): radius: bpy.props.FloatProperty(name='Radius', description='Radius of the rounded corners', unit='LENGTH', min=0.0, default=0.1) chamfer_mode: bpy.props.BoolProperty(name='Chamfer', description='Cut off sharp without rounding', default=False) - limit_half_way: bpy.props.BoolProperty(name='Limit Half Way', description='Limits the segements to half their length in order to prevent collisions', default=False) + limit_half_way: bpy.props.BoolProperty(name='Limit Half Way', description='Limits the segments to half their length in order to prevent collisions', default=False) @classmethod def poll(cls, context): diff --git a/curve_tools/curves.py b/curve_tools/curves.py index 202487dee25d75d0189ccb58133bc109f3cfb3cb..8a1a14848781d97f6c459f564779127d67a67e24 100644 --- a/curve_tools/curves.py +++ b/curve_tools/curves.py @@ -390,7 +390,7 @@ class BezierSpline: self.segments.append(BezierSegment(self.segments[-1].bezierPoint2, spline2.segments[0].bezierPoint1)) for seg2 in spline2.segments: self.segments.append(seg2) - self.resolution += spline2.resolution # extra segment will usually be short -- impact on resolution negligable + self.resolution += spline2.resolution # extra segment will usually be short -- impact on resolution negligible self.isCyclic = False # is this ok? diff --git a/curve_tools/remove_doubles.py b/curve_tools/remove_doubles.py index d69b3e0aff384534bb0b2a201cdea4507474944e..f0b3dbb520336bfbd3615ab35a9b3a866531a46f 100644 --- a/curve_tools/remove_doubles.py +++ b/curve_tools/remove_doubles.py @@ -7,7 +7,7 @@ bl_info = { 'version': (1, 1), 'blender': (2, 80, 0), 'location': 'View3D > Context menu (W/RMB) > Remove Doubles', - 'description': 'Adds comand "Remove Doubles" for curves', + 'description': 'Adds command "Remove Doubles" for curves', 'category': 'Add Curve' } diff --git a/greasepencil_tools/line_reshape.py b/greasepencil_tools/line_reshape.py index b994b8d6a76fe285b8627676f46c159edd5101cb..1425bac553598f0b02a7ffc1954bb257c430113d 100644 --- a/greasepencil_tools/line_reshape.py +++ b/greasepencil_tools/line_reshape.py @@ -43,9 +43,9 @@ def vector_len_from_coord(a, b): return (a.co - b.co).length def point_from_dist_in_segment_3d(a, b, ratio): - '''return the tuple coords of a point on 3D segment ab according to given ratio (some distance divided by total segment lenght)''' + '''return the tuple coords of a point on 3D segment ab according to given ratio (some distance divided by total segment length)''' ## ref:https://math.stackexchange.com/questions/175896/finding-a-point-along-a-line-a-certain-distance-away-from-another-point - # ratio = dist / seglenght + # ratio = dist / seglength return ( ((1 - ratio) * a[0] + (ratio*b[0])), ((1 - ratio) * a[1] + (ratio*b[1])), ((1 - ratio) * a[2] + (ratio*b[2])) ) def get_stroke_length(s): @@ -144,7 +144,7 @@ class GP_OT_straightStroke(bpy.types.Operator): ct = 0 for l in gpl: if l.lock or l.hide or not l.active_frame: - # avoid locked, hided, empty layers + # avoid locked, hidden, empty layers continue if gp.use_multiedit: target_frames = [f for f in l.frames if f.select] diff --git a/greasepencil_tools/prefs.py b/greasepencil_tools/prefs.py index 11d3d0be73b5d03fe0e9c81fcac9bd14dff678e4..f1b335ba1209c60e3606808b2ac355021973260b 100644 --- a/greasepencil_tools/prefs.py +++ b/greasepencil_tools/prefs.py @@ -103,7 +103,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences): update=auto_rebind) mouse_click : EnumProperty( - name="Mouse button", description="click on right/left/middle mouse button in combination with a modifier to trigger alignement", + name="Mouse button", description="click on right/left/middle mouse button in combination with a modifier to trigger alignment", default='MIDDLEMOUSE', items=( ('RIGHTMOUSE', 'Right click', 'Use click on Right mouse button', 'MOUSE_RMB', 0), @@ -163,7 +163,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences): box.label(text="Deformer type can be changed during modal with 'M' key, this is for default behavior", icon='INFO') box.prop(self, "auto_swap_deform_type") - box.label(text="Once 'M' is hit, auto swap is desactivated to stay in your chosen mode", icon='INFO') + box.label(text="Once 'M' is hit, auto swap is deactivated to stay in your chosen mode", icon='INFO') ## ROTATE CANVAS box = layout.box() diff --git a/greasepencil_tools/rotate_canvas.py b/greasepencil_tools/rotate_canvas.py index 36da5ee856895102d7a2be56596aa51330997b56..7969972c14c3457ae5ddb796f5ea9000e5f98dc0 100644 --- a/greasepencil_tools/rotate_canvas.py +++ b/greasepencil_tools/rotate_canvas.py @@ -235,7 +235,7 @@ class RC_OT_RotateCanvas(bpy.types.Operator): self.pos_current = mathutils.Vector((event.mouse_region_x, event.mouse_region_y)) self.initial_pos = self.pos_current# for draw debug, else no need - # Calculate inital vector + # Calculate initial vector self.vector_initial = self.pos_current - self.center self.vector_initial.normalize() diff --git a/greasepencil_tools/timeline_scrub.py b/greasepencil_tools/timeline_scrub.py index f6ba9eaa198335099c0cdb65cdee236c068e0add..c152c87cc2244ddce950e796a381c0fae71ba4f2 100644 --- a/greasepencil_tools/timeline_scrub.py +++ b/greasepencil_tools/timeline_scrub.py @@ -345,7 +345,7 @@ class GPTS_OT_time_scrub(bpy.types.Operator): for i in ui_key_pos: center = self.init_mouse_x + ((i-self.init_frame)*self.px_step) if self.keyframe_aspect == 'DIAMOND': - # +1 on x is to correct pixel alignement + # +1 on x is to correct pixel alignment shaped_key += [(center-keysize, my+upper), (center+1, my+keysize+upper), (center+keysize, my+upper), @@ -552,7 +552,7 @@ class GPTS_timeline_settings(bpy.types.PropertyGroup): rolling_mode: BoolProperty( name="Rolling Mode", - description="Alternative Gap-less timeline. No time informations to quickly roll/flip over keys\nOverride normal and 'always snap' mode", + description="Alternative Gap-less timeline. No time information to quickly roll/flip over keys\nOverride normal and 'always snap' mode", default=False) use: BoolProperty( diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py index db0c8e0c33176ba49838e73b5b25a4b8c1832e9e..e14719429da15e1e7889d2ac3f7ba817d4097c96 100644 --- a/io_coat3D/__init__.py +++ b/io_coat3D/__init__.py @@ -1717,7 +1717,7 @@ class SceneCoat3D(PropertyGroup): ) foundExchangeFolder: BoolProperty( name="found Exchange Folder", - description="found Excahnge folder", + description="found Exchange folder", default=False ) delete_images: BoolProperty( diff --git a/io_export_paper_model.py b/io_export_paper_model.py index 022971f8f2391b6c3a32e111ed848ce671fb5cf6..94d16361f0702785ccb50f404bf5b57c0e13b783 100644 --- a/io_export_paper_model.py +++ b/io_export_paper_model.py @@ -1037,7 +1037,7 @@ def join(uvedge_a, uvedge_b, size_limit=None, epsilon=1e-6): for uvedge in merged_uvedges: island_a.mesh.edges[uvedge.loop.edge].is_main_cut = False - # include all trasformed vertices as mine + # include all transformed vertices as mine island_a.vertices.update({loop: phantoms[uvvertex] for loop, uvvertex in island_b.vertices.items()}) # re-link uvedges and uvfaces to their transformed locations diff --git a/io_import_dxf/__init__.py b/io_import_dxf/__init__.py index c24f6a82565a6b4b5fc8f1639f828aad2fff613a..f54535feeadf6fb3311fc5a4475285d98df0cedf 100644 --- a/io_import_dxf/__init__.py +++ b/io_import_dxf/__init__.py @@ -332,7 +332,7 @@ class IMPORT_OT_dxf(bpy.types.Operator): _set_recenter(self, self.recenter) dxf_indi: EnumProperty( name="DXF coordinate type", - description="Indication for spherical or euclidian coordinates", + description="Indication for spherical or euclidean coordinates", items=[('EUCLIDEAN', "Euclidean", "Coordinates in x/y"), ('SPHERICAL', "Spherical", "Coordinates in lat/lon")], default='EUCLIDEAN', diff --git a/io_import_palette/__init__.py b/io_import_palette/__init__.py index c2c15d5dcf53f7430df07c0803a381281ed79e4b..8f1558947931bbf8e6e91c59c200f0c57f7a73fb 100644 --- a/io_import_palette/__init__.py +++ b/io_import_palette/__init__.py @@ -34,7 +34,7 @@ import sys import os # ---------------------------------------------- -# Add to Phyton path (once only) +# Add to Python path (once only) # ---------------------------------------------- path = sys.path flag = False diff --git a/io_import_palette/import_ase.py b/io_import_palette/import_ase.py index cd5cbee3aa2b5450c806ca235cfeb4215dae6097..4b5341b8e5d2272f86241cdbf3c8385264591d2a 100644 --- a/io_import_palette/import_ase.py +++ b/io_import_palette/import_ase.py @@ -16,7 +16,7 @@ # # ##### END GPL LICENSE BLOCK ##### -# This ASE converion use code from Marcos A Ojeda http://generic.cx/ +# This ASE conversion uses code from Marcos A Ojeda http://generic.cx/ # # With notes from # http://iamacamera.org/default.aspx?id=109 by Carl Camera and diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py index c367946a3d3320f20e2c0c0fd9f471a00a26c4f3..ff616ba11545b1198b4581184a4cea25f1fa8287 100644 --- a/io_mesh_stl/__init__.py +++ b/io_mesh_stl/__init__.py @@ -42,7 +42,7 @@ Import-Export STL files (binary or ascii) Issues: Import: - - Does not handle endien + - Does not handle endian """ if "bpy" in locals(): diff --git a/io_mesh_stl/stl_utils.py b/io_mesh_stl/stl_utils.py index ee693375ad75351b8ad385f3ad5525cc7e019ccd..2fdd17f06837bde7d5529c4f1779706aa899b7a6 100644 --- a/io_mesh_stl/stl_utils.py +++ b/io_mesh_stl/stl_utils.py @@ -26,7 +26,7 @@ Used as a blender script, it load all the stl files in the scene: blender --python stl_utils.py -- file1.stl file2.stl file3.stl ... """ -# TODO: endien +# TODO: endian class ListDict(dict): diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index e3c86d523da83709a2c89479a4a9874cce0d986e..28280bc3d4e193698c881441a858619029431500 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -97,7 +97,7 @@ from .fbx_utils import ( FBXExportSettingsMedia, FBXExportSettings, FBXExportData, ) -# Units convertors! +# Units converters! convert_sec_to_ktime = units_convertor("second", "ktime") convert_sec_to_ktime_iter = units_convertor_iter("second", "ktime") diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py index 7a1187300c1432357bca507b9ca741ceee19b723..f62bf795e067ad456291e18a27956b83dcd9fad9 100644 --- a/io_scene_fbx/import_fbx.py +++ b/io_scene_fbx/import_fbx.py @@ -56,7 +56,7 @@ from .fbx_utils import ( # global singleton, assign on execution fbx_elem_nil = None -# Units convertors... +# Units converters... convert_deg_to_rad_iter = units_convertor_iter("degree", "radian") MAT_CONVERT_BONE = fbx_utils.MAT_CONVERT_BONE.inverted() diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_drivers.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_drivers.py index ede6bab2b03f9871c6a3ac33e6621bb525a0ae5e..d639c9ac31e137d4282b67e4bf6d3514314f0fc4 100644 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_drivers.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_drivers.py @@ -55,7 +55,7 @@ def get_sk_drivers(blender_armature): try: # Check if driver is valid. # Try/Except is no more a suffisant check, starting with version Blender 3.0, - # Blender crashs when trying to resolve path on invalid driver + # Blender crashes when trying to resolve path on invalid driver if not sk_c.is_valid: continue sk_name = child.data.shape_keys.path_resolve(get_target_object_path(sk_c.data_path)).name diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture_info.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture_info.py index ae4bd70990c4c34bf9dc41588888d6686897f6cb..a99ae86a0f8f0b411fb5b85cd4f60446d85475a4 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture_info.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture_info.py @@ -26,7 +26,7 @@ from io_scene_gltf2.io.exp.gltf2_io_user_extensions import export_user_extension # blender_shader_sockets determine the texture and primary_socket determines -# the textranform and UVMap. Ex: when combining an ORM texture, for +# the textransform and UVMap. Ex: when combining an ORM texture, for # occlusion the primary_socket would be the occlusion socket, and # blender_shader_sockets would be the (O,R,M) sockets. diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_clearcoat.py b/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_clearcoat.py index 276f932812d650f66df9fc3586d3bcdbda1e1f93..4629f3bfa3f541be5572695233825f00b418d5db 100644 --- a/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_clearcoat.py +++ b/io_scene_gltf2/blender/imp/gltf2_blender_KHR_materials_clearcoat.py @@ -69,7 +69,7 @@ def clearcoat(mh, location, clearcoat_socket): ) -# [Texture] => [Seperate G] => [Roughness Factor] => +# [Texture] => [Separate G] => [Roughness Factor] => def clearcoat_roughness(mh, location, roughness_socket): x, y = location try: diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py index 50cec8360d8ec9409b292efdf1155053448c66e7..796515cd28fb64bb7555cf98fbf2e7ebce50b8a8 100644 --- a/io_scene_obj/export_obj.py +++ b/io_scene_obj/export_obj.py @@ -256,7 +256,7 @@ def write_file(filepath, objects, depsgraph, scene, ): """ Basic write function. The context and options must be already set - This can be accessed externaly + This can be accessed externally eg. write( 'c:\\test\\foobar.obj', Blender.Object.GetSelected() ) # Using default options. """ diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py index 470e85ecd063cc3c861d198358ca1c9f667daefc..87ba4bd2afff02a3d0be408fe41212296c7b19c1 100644 --- a/io_scene_obj/import_obj.py +++ b/io_scene_obj/import_obj.py @@ -689,7 +689,7 @@ def create_mesh(new_objects, me = bpy.data.meshes.new(dataname) - # make sure the list isnt too big + # make sure the list isn't too big for material in materials: me.materials.append(material) @@ -730,7 +730,7 @@ def create_mesh(new_objects, me.loops.foreach_set("normal", loops_nor) if verts_tex and me.polygons: - # Some files Do not explicitely write the 'v' value when it's 0.0, see T68249... + # Some files Do not explicitly write the 'v' value when it's 0.0, see T68249... verts_tex = [uv if len(uv) == 2 else uv + [0.0] for uv in verts_tex] me.uv_layers.new(do_init=False) loops_uv = tuple(uv for (_, _, face_vert_tex_indices, _, _, _, _) in faces diff --git a/magic_uv/op/mirror_uv.py b/magic_uv/op/mirror_uv.py index 969c26dcf297f3a0e109555c5fca6f370d973d59..3cad279d6aac362bcda7f1fe1de062f544c35c25 100644 --- a/magic_uv/op/mirror_uv.py +++ b/magic_uv/op/mirror_uv.py @@ -200,7 +200,7 @@ class MUV_OT_MirrorUV(bpy.types.Operator): eular = Euler(obj.rotation_euler) rotation_mat = eular.to_matrix() - # Get center location of all verticies. + # Get center location of all vertices. center_location = Vector((0.0, 0.0, 0.0)) for v in bm.verts: center_location += v.co @@ -217,7 +217,7 @@ class MUV_OT_MirrorUV(bpy.types.Operator): def _get_local_vertices(self, _, bm): transformed = {} - # Get center location of all verticies. + # Get center location of all vertices. center_location = Vector((0.0, 0.0, 0.0)) for v in bm.verts: center_location += v.co diff --git a/magic_uv/op/select_uv.py b/magic_uv/op/select_uv.py index cf8195f2ba463db37551eb3b99e8bbb2a1961f64..bf01f954e84ae074aeb99d43b8c5fd6dbc8951c5 100644 --- a/magic_uv/op/select_uv.py +++ b/magic_uv/op/select_uv.py @@ -356,7 +356,7 @@ class MUV_OT_SelectUV_ZoomSelectedUV(bpy.types.Operator): return {'CANCELLED'} bpy.ops.view3d.view_selected(override_context, use_all_regions=False) - # Revert selection of verticies. + # Revert selection of vertices. for v in sel_verts: v.select = True for obj in objs: diff --git a/materials_library_vx/__init__.py b/materials_library_vx/__init__.py index cc469d84f00b9fdeb875391a59b28fb78446d7b8..60abb02b2601be3c8bb9da7f0bd30270bf914932 100644 --- a/materials_library_vx/__init__.py +++ b/materials_library_vx/__init__.py @@ -601,7 +601,7 @@ if mat: #if material: #maybe some test cases doesn't return a material, gotta take care of that #i cannot think of any case like that right now - #maybe import linked when the database isnt sync + #maybe import linked when the database isn't sync if context.mode == "EDIT_MESH": obj = context.object dd(material) diff --git a/mesh_auto_mirror.py b/mesh_auto_mirror.py index 47611668af6b14ecc9e98c67c293e3ac3f165092..7057227b07c2a773d8b8c660cab3ce516e171d87 100644 --- a/mesh_auto_mirror.py +++ b/mesh_auto_mirror.py @@ -261,7 +261,7 @@ class AutoMirrorProps(PropertyGroup): cut : BoolProperty( default= True, - description="If enabeled, cut the mesh in two parts and mirror it. If not, just make a loopcut", + description="If enabled, cut the mesh in two parts and mirror it. If not, just make a loopcut", ) clipping : BoolProperty( diff --git a/mesh_tissue/tessellate_numpy.py b/mesh_tissue/tessellate_numpy.py index b13094e9e35691a52d035019ab4c0de58b272540..a428cea6c5a6688cf8d182b31f6c9078d07fa6c3 100644 --- a/mesh_tissue/tessellate_numpy.py +++ b/mesh_tissue/tessellate_numpy.py @@ -300,7 +300,7 @@ class tissue_tessellate_prop(PropertyGroup): 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!", update = anim_tessellate_active ) @@ -1868,7 +1868,7 @@ class 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( diff --git a/node_wrangler.py b/node_wrangler.py index 85e5ccffcd504426f11e5a0783edc162fa9da00a..c9a31e1f77e9fc6d3a449c0e9dbb5ef6de9a991d 100644 --- a/node_wrangler.py +++ b/node_wrangler.py @@ -2061,7 +2061,7 @@ class NWPreviewNode(Operator, NWBase): for li_from, li_to in make_links: base_node_tree.links.new(li_from, li_to) - # Crate links through node groups until we reach the active node + # Create links through node groups until we reach the active node tree = base_node_tree link_end = output_socket while tree.nodes.active != active: @@ -3584,7 +3584,7 @@ class NWLinkActiveToSelected(Operator, NWBase): if node.label: dst_name = node.label valid = True # Initial value. Will be changed to False if names don't match. - src_name = dst_name # If names not used - this asignment will keep valid = True. + src_name = dst_name # If names not used - this assignment will keep valid = True. if use_node_name: # Set src_name to source node name or label src_name = active.name diff --git a/power_sequencer/operators/fade_add.py b/power_sequencer/operators/fade_add.py index dd75c8649c3159d7b56cc181a7cd332cd97d8a12..11ef5b3c3b7e1b7c41c919a083d9f9eca3d6fb62 100644 --- a/power_sequencer/operators/fade_add.py +++ b/power_sequencer/operators/fade_add.py @@ -27,7 +27,7 @@ class POWER_SEQUENCER_OT_fade_add(bpy.types.Operator): Fade options: - In, Out, In and Out create a fade animation of the given duration from - the start of the sequence, to the end of the sequence, or on boths sides + the start of the sequence, to the end of the sequence, or on both sides - From playhead: the fade animation goes from the start of sequences under the playhead to the playhead - To playhead: the fade animation goes from the playhead to the end of sequences under the playhead diff --git a/power_sequencer/operators/mouse_trim_modal.py b/power_sequencer/operators/mouse_trim_modal.py index 4fbffd477ec99118480174913b7cef54548e2fc6..a6b69812be1b0a69febc83b48248a9bac329214b 100644 --- a/power_sequencer/operators/mouse_trim_modal.py +++ b/power_sequencer/operators/mouse_trim_modal.py @@ -46,7 +46,7 @@ class POWER_SEQUENCER_OT_mouse_trim(bpy.types.Operator): *brief* Cut or Trim strips quickly with the mouse cursor - Click somehwere in the Sequencer to insert a cut, click and drag to trim + Click somewhere in the Sequencer to insert a cut, click and drag to trim With this function you can quickly cut and remove a section of strips while keeping or collapsing the remaining gap. Press <kbd>Ctrl</kbd> to snap to cuts. diff --git a/precision_drawing_tools/__init__.py b/precision_drawing_tools/__init__.py index 5e333969fcae3331e5942d18b93990b524ad1172..a39eb0b50da855acbf5913a0481a3576b71e9adf 100644 --- a/precision_drawing_tools/__init__.py +++ b/precision_drawing_tools/__init__.py @@ -32,7 +32,7 @@ bl_info = { "version": (1, 5, 1), "blender": (2, 90, 0), "location": "View3D > UI > PDT", - "description": "Precision Drawing Tools for Acccurate Modelling", + "description": "Precision Drawing Tools for Accurate Modelling", "warning": "", "doc_url": "https://github.com/Clockmender/Precision-Drawing-Tools/wiki", "category": "3D View", diff --git a/precision_drawing_tools/pdt_command.py b/precision_drawing_tools/pdt_command.py index 1f10e3ffc7e99362ce5598cb44aa4721e25796bf..2baf3ca7e74a2b204cee0500f83998177ceec857 100644 --- a/precision_drawing_tools/pdt_command.py +++ b/precision_drawing_tools/pdt_command.py @@ -465,7 +465,7 @@ def command_parse(context): mode_sel = 'SEL' if mode == "a" and operation not in {"C", "P"}: - # Place new Vetex, or Extrude Vertices by Absolute Coords. + # Place new Vertex, or Extrude Vertices by Absolute Coords. if mode_sel == 'REL': pg.select = 'SEL' mode_sel = 'SEL' diff --git a/precision_drawing_tools/pdt_command_functions.py b/precision_drawing_tools/pdt_command_functions.py index 7087f6fa9fb8b89da6b8240cc7c0e535f5983580..9980be87227dfc6f0157ec8a97ff0095629c4f2d 100644 --- a/precision_drawing_tools/pdt_command_functions.py +++ b/precision_drawing_tools/pdt_command_functions.py @@ -90,7 +90,7 @@ def vector_build(context, pg, obj, operation, values, num_values): pg: PDT Parameters Group - our variables obj: The Active Object operation: The Operation e.g. Create New Vertex - values: The paramters passed e.g. 1,4,3 for Cartesian Coordinates + values: The parameters passed e.g. 1,4,3 for Cartesian Coordinates num_values: The number of values passed - determines the function Returns: @@ -320,7 +320,7 @@ def placement_arc_centre(context, operation): def placement_intersect(context, operation): - """Manipulates Geometry, or Objects by Convergance Intersection between 4 points, or 2 Edges. + """Manipulates Geometry, or Objects by Convergence Intersection between 4 points, or 2 Edges. Args: context: Blender bpy.context instance. diff --git a/precision_drawing_tools/pdt_design.py b/precision_drawing_tools/pdt_design.py index e4a0cdeb62263a69130e4f146a5076d8c8aa4f5b..f254efa4be5c0d42014b73a0f130a2e6dd38edb2 100644 --- a/precision_drawing_tools/pdt_design.py +++ b/precision_drawing_tools/pdt_design.py @@ -45,8 +45,8 @@ class PDT_OT_PlacementAbs(Operator): Note: - Reads pg.operate from Operation Mode Selector as 'operation' - Reads pg.cartesian_coords scene variables to: - -- set position of CUrsor (CU) - -- set postion of Pivot Point (PP) + -- set position of Cursor (CU) + -- set position of Pivot Point (PP) -- MoVe geometry/objects (MV) -- Extrude Vertices (EV) -- Split Edges (SE) @@ -534,7 +534,7 @@ class PDT_OT_PlacementInt(Operator): bl_options = {"REGISTER", "UNDO"} def execute(self, context): - """Manipulates Geometry, or Objects by Convergance Intersection between 4 points, or 2 Edges. + """Manipulates Geometry, or Objects by Convergence Intersection between 4 points, or 2 Edges. Note: - Reads pg.operation from Operation Mode Selector as 'operation' diff --git a/precision_drawing_tools/pdt_functions.py b/precision_drawing_tools/pdt_functions.py index fb73b76544c4b81e220e29c7e7370ea3bf5baccf..e426e3fa14d80c44c70d39525b38d1021dd3616d 100644 --- a/precision_drawing_tools/pdt_functions.py +++ b/precision_drawing_tools/pdt_functions.py @@ -51,7 +51,7 @@ def debug(msg, prefix=""): {prefix}{caller file name:line number}| {msg} Args: - msg: Incomming message to display + msg: Incoming message to display prefix: Always Blank Returns: @@ -238,7 +238,7 @@ def view_coords(x_loc, y_loc, z_loc): z_loc: Z coordinate from vector Returns: - Vector adjusted to View's Inverted Tranformation Matrix. + Vector adjusted to View's Inverted Transformation Matrix. """ areas = [a for a in bpy.context.screen.areas if a.type == "VIEW_3D"] @@ -256,7 +256,7 @@ def view_coords_i(x_loc, y_loc, z_loc): """Converts Screen Oriented input Vector values to new World Vector. Note: - Converts View tranformation Matrix to Rotational Matrix + Converts View transformation Matrix to Rotational Matrix Args: x_loc: X coordinate from vector diff --git a/precision_drawing_tools/pdt_menus.py b/precision_drawing_tools/pdt_menus.py index 603b43793869e4f6f8cb16bdfb52c5e76dcbd1b6..ca5551eacfd9839cbb5a89177d4241dd15398126 100644 --- a/precision_drawing_tools/pdt_menus.py +++ b/precision_drawing_tools/pdt_menus.py @@ -412,7 +412,7 @@ class PDT_PT_PanelCommandLine(Panel): col = row.column() col.prop(pdt_pg, "select", text="Mode") row = layout.row() - row.label(text="Comand Line, uses Plane & Mode Options") + row.label(text="Command Line, uses Plane & Mode Options") row = layout.row() row.prop(pdt_pg, "command", text="") # Try Re-run diff --git a/precision_drawing_tools/pdt_msg_strings.py b/precision_drawing_tools/pdt_msg_strings.py index 65a113b26145d5b43691e36a3f38c8ad420fe488..23099779326cbba9da49328c6ca3a0572edac4f0 100644 --- a/precision_drawing_tools/pdt_msg_strings.py +++ b/precision_drawing_tools/pdt_msg_strings.py @@ -50,7 +50,7 @@ PDT_LAB_PLANE = "Plane" PDT_LAB_MODE = "Mode" PDT_LAB_OPERATION = "Operation" PDT_LAB_PERCENT = "Percent" -PDT_LAB_INTERSECT = "Intersect" # "Convergance" +PDT_LAB_INTERSECT = "Intersect" # "Convergence" PDT_LAB_ORDER = "Order" PDT_LAB_FLIPANGLE = "Flip Angle" PDT_LAB_FLIPPERCENT = "Flip %" @@ -190,7 +190,7 @@ PDT_DES_PPSCALEFAC = "Scale Factors" PDT_DES_PPSIZE = "Pivot Size Factor" PDT_DES_PPWIDTH = "Pivot Line Width in Pixels" PDT_DES_PPTRANS = "Pivot Point Transparency" -PDT_DES_PIVOTDIS = "Input Distance to Compare with Sytem Distance to set Scales" +PDT_DES_PIVOTDIS = "Input Distance to Compare with System Distance to set Scales" PDT_DES_FILLETRAD = "Fillet Radius" PDT_DES_FILLETSEG = "Number of Fillet Segments" PDT_DES_FILLETPROF = "Fillet Profile" diff --git a/precision_drawing_tools/pdt_tangent.py b/precision_drawing_tools/pdt_tangent.py index 5b6243d5a53fdd82cf7fa8095ca1156342296aab..6697a5a255c5388b136a962ec16254addbfaed14 100644 --- a/precision_drawing_tools/pdt_tangent.py +++ b/precision_drawing_tools/pdt_tangent.py @@ -227,7 +227,7 @@ def tangent_setup(context, pg, plane, obj_data, centre_0, centre_1, centre_2, ra a1, a2, a3 = set_mode(plane) mode = pg.tangent_mode if plane == "LO": - # Translate world cordinates into view local (horiz, vert, depth) + # Translate world coordinates into view local (horiz, vert, depth) # centre_0 = view_coords_i(centre_0[a1], centre_0[a2], centre_0[a3]) centre_1 = view_coords_i(centre_1[a1], centre_1[a2], centre_1[a3]) @@ -399,11 +399,11 @@ def draw_tangents(tangent_vectors, obj_data): """Add Edges Representing the Tangents. Note: - The length of the tanget_vectors determins whcih tangents will be + The length of the tanget_vectors determines which tangents will be drawn, 3 gives Point Tangents, 4 gives Inner/Outer tangents Args: - tangent_vectors: A list of vectores representing the tangents + tangent_vectors: A list of vectors representing the tangents obj_data: A list giving Object, Object Location and Object Bmesh Returns: @@ -490,7 +490,7 @@ class PDT_OT_TangentOperate(Operator): Analyses distance between arc centres, or arc centre and tangent point to determine which mode is possible (Inner, Outer, or Point). If centres are - both contianed within 1 inferred circle, Inner tangents are not possible. + both contained within 1 inferred circle, Inner tangents are not possible. Arcs of same radius will have no intersection for outer tangents so these are calculated differently. @@ -557,7 +557,7 @@ class PDT_OT_TangentOperateSel(Operator): Analyses distance between arc centres, or arc centre and tangent point to determine which mode is possible (Inner, Outer, or Point). If centres are - both contianed within 1 inferred circle, Inner tangents are not possible. + both contained within 1 inferred circle, Inner tangents are not possible. Arcs of same radius will have no intersection for outer tangents so these are calculated differently. diff --git a/render_povray/object_curve_topology.py b/render_povray/object_curve_topology.py index 876952e2a334e5adcbdca1816e1b25d8154fda7c..a51ef83e740b0c7644907452c04859b5c92f37c9 100755 --- a/render_povray/object_curve_topology.py +++ b/render_povray/object_curve_topology.py @@ -32,13 +32,13 @@ from .shading import write_object_material_interior def export_curves(file, ob, string_strip_hyphen, global_matrix, tab_write): """write all curves based POV primitives to exported file """ - # name_orig = "OB" + ob.name # XXX Unused, check instanciation + # name_orig = "OB" + ob.name # XXX Unused, check instantiation dataname_orig = "DATA" + ob.data.name - # name = string_strip_hyphen(bpy.path.clean_name(name_orig)) # XXX Unused, check instanciation + # name = string_strip_hyphen(bpy.path.clean_name(name_orig)) # XXX Unused, check instantiation dataname = string_strip_hyphen(bpy.path.clean_name(dataname_orig)) - # matrix = global_matrix @ ob.matrix_world # XXX Unused, check instanciation + # matrix = global_matrix @ ob.matrix_world # XXX Unused, check instantiation bezier_sweep = False if ob.pov.curveshape == 'sphere_sweep': # TODO: Check radius ; shorten lines, may use tab_write() ? > fstrings since py 2.9 @@ -962,7 +962,7 @@ def export_curves(file, ob, string_strip_hyphen, global_matrix, tab_write): if ob.pov.curveshape in {'birail'}: splines = '%s1,%s2,%s3,%s4' % (dataname, dataname, dataname, dataname) tab_write('object {Coons(%s, %s, %s, "")\n' % (splines, ob.pov.res_u, ob.pov.res_v)) - # pov_mat_name = "Default_texture" # XXX! Unused, check instanciation + # pov_mat_name = "Default_texture" # XXX! Unused, check instantiation if ob.active_material: # pov_mat_name = string_strip_hyphen(bpy.path.clean_name(ob.active_material.name)) try: diff --git a/render_povray/object_gui.py b/render_povray/object_gui.py index aebaa3119a01c49ad0df6b0799b6b55c8cd86933..fa33fc65d1e0ad46eb4cf87cd3e8a5a5bbfcc550 100755 --- a/render_povray/object_gui.py +++ b/render_povray/object_gui.py @@ -605,7 +605,7 @@ def check_add_mesh_extra_objects(): """Test if Add mesh extra objects addon is activated This addon is currently used to generate the proxy for POV parametric - surface which is almost the same priciple as its Math xyz surface + surface which is almost the same principle as its Math xyz surface """ if "add_mesh_extra_objects" in bpy.context.preferences.addons.keys(): return True diff --git a/render_povray/object_mesh_topology.py b/render_povray/object_mesh_topology.py index 1599d6d15792032f12f6f1ffd36d7ea82b03f10d..cd98a6f47b42379c1e98641a48e3e1da7ce64db3 100755 --- a/render_povray/object_mesh_topology.py +++ b/render_povray/object_mesh_topology.py @@ -32,7 +32,7 @@ from .scenography import export_smoke def matrix_as_pov_string(matrix): - """Translate some tranform matrix from Blender UI + """Translate some transform matrix from Blender UI to POV syntax and return that string """ matrix_string = ( "matrix <%.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f>\n" @@ -720,7 +720,7 @@ def export_meshes( if not ob.is_instancer: # except duplis which should be instances groups for now but all duplis later if ob.type == 'EMPTY': - # XXX Should we only write this once and instanciate the same for every + # XXX Should we only write this once and instantiate the same for every # empty in the final matrix writing, or even no marix and just a comment # with empty object transforms ? tab_write("\n//dummy sphere to represent Empty location\n") diff --git a/render_povray/render.py b/render_povray/render.py index 76bdf7c47f252880fc91e5c07edff482cea3c802..25e0697ca0fb8b72042848f63f37a50a6f102fe2 100755 --- a/render_povray/render.py +++ b/render_povray/render.py @@ -18,7 +18,7 @@ # <pep8 compliant> -"""Wirte the POV file using this file's functions and some from other modules then render it.""" +"""Write the POV file using this file's functions and some from other modules then render it.""" import bpy import subprocess @@ -285,7 +285,7 @@ def write_pov(filename, scene=None, info_callback=None): return name def write_matrix(matrix): - """Translate some tranform matrix from Blender UI + """Translate some transform matrix from Blender UI to POV syntax and write to exported file """ tab_write( "matrix <%.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f, %.6f>\n" diff --git a/render_povray/render_gui.py b/render_povray/render_gui.py index ff5e20ec9632faa8a9d32528d38ca4f651dde75b..e527511fd53beb557459a90289c7f49ae76ef816 100755 --- a/render_povray/render_gui.py +++ b/render_povray/render_gui.py @@ -96,7 +96,7 @@ class RenderButtonsPanel: class RENDER_PT_POV_export_settings(RenderButtonsPanel, Panel): - """Use this class to define pov ini settingss buttons.""" + """Use this class to define pov ini settings buttons.""" bl_options = {'DEFAULT_CLOSED'} bl_label = "Auto Start" diff --git a/render_povray/update_files.py b/render_povray/update_files.py index f9696f8f6045c0fed2f52e8b6a38e00ec42ee3f5..0082ff83749f770663bcc377606d2bd2cc184c61 100755 --- a/render_povray/update_files.py +++ b/render_povray/update_files.py @@ -37,7 +37,7 @@ from bpy.props import ( # *update this file to just cover 2.79 to 3.xx and ui it from a Blender internal to pov menu # *as well as update from older pov > switch to QMC when pov 3.8 is out ? # *filter if possible files built in pre 2.79 versions. tell user their file is too old and may -# be salvaged from older vesion of this operator from within latest stable blender 2.79 version. +# be salvaged from older version of this operator from within latest stable blender 2.79 version. # else if bpy.app.version[0] == 2 and bpy.app.version[1] <= 92 and and bpy.app.version[1] >= 79: # warn users to update blender to 3.xx for creating their newer files then try to salvage # using this script diff --git a/rigify/rigs/face/skin_eye.py b/rigify/rigs/face/skin_eye.py index 498a90c4df8cde954aa657bf4b1c90e7cb9648d4..da4da1e588a4e671a06832086a41b44c43c59179 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 7d3f65ebaf2867cd622f350f553cc83f7c859d1d..6dec06e89f5da4fe71740cfd3aaa203a0e22d3ae 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))) diff --git a/space_view3d_stored_views/__init__.py b/space_view3d_stored_views/__init__.py index 6a174fdbfc286b23450e55db3045df0a1b0b6840..d7fed107f96b9beabe17cc209d5b494a09d516d8 100644 --- a/space_view3d_stored_views/__init__.py +++ b/space_view3d_stored_views/__init__.py @@ -110,7 +110,7 @@ class VIEW3D_stored_views_preferences(AddonPreferences): view_3d_update_rate : IntProperty( name="3D view update", description="Update rate of the 3D view redraw\n" - "Increse the value if the UI feels sluggish", + "Increase the value if the UI feels sluggish", min=1, max=10, default=1 ) diff --git a/space_view3d_stored_views/stored_views_test.py b/space_view3d_stored_views/stored_views_test.py index 746f8d95729654d6476bf03eb5e209da9abfdfa2..58a4552fbcdadcde4b26149be0ac34872e48e6e2 100644 --- a/space_view3d_stored_views/stored_views_test.py +++ b/space_view3d_stored_views/stored_views_test.py @@ -1314,7 +1314,7 @@ class VIEW3D_OT_stored_views_preferences(AddonPreferences): view_3d_update_rate: IntProperty( name="3D view update", description="Update rate of the 3D view redraw\n" - "Increse the value if the UI feels sluggish", + "Increase the value if the UI feels sluggish", min=1, max=10, default=1 ) diff --git a/ui_translate/update_ui.py b/ui_translate/update_ui.py index f9b55b03887d005da9a69fe3e7f3f7a3aaa01a72..cab6ef6b8644e94b4ec891b11747febacaa5ddb4 100644 --- a/ui_translate/update_ui.py +++ b/ui_translate/update_ui.py @@ -160,7 +160,7 @@ class UI_PT_i18n_update_translations_settings(Panel): if not i18n_sett.is_init and bpy.ops.ui.i18n_updatetranslation_svn_init_settings.poll(): # Cannot call the operator from here, this code might run while `pyrna_write_check()` returns False - # (which prevents any operator call from Python), during initalization of Blender. + # (which prevents any operator call from Python), during initialization of Blender. UI_OT_i18n_updatetranslation_svn_init_settings.execute_static(context, settings.settings) if not i18n_sett.is_init: