Cleanup: fix various typos

Contributed by luzpaz.

Differential Revision: https://developer.blender.org/D15328
This commit is contained in:
Brecht Van Lommel
2022-06-30 17:20:39 +02:00
parent 870f9775d7
commit 6d7056ab6e
17 changed files with 21 additions and 21 deletions

View File

@ -180,7 +180,7 @@ def export_meta(file, metas, tab_write, DEF_MAT_NAME):
try:
one_material = elems[1].data.materials[
0
] # lame! - blender cant do enything else.
] # lame! - blender can't do enything else.
except BaseException as e:
print(e.__doc__)
print('An exception occurred: {}'.format(e))
@ -236,7 +236,7 @@ def export_meta(file, metas, tab_write, DEF_MAT_NAME):
importance = ob.pov.importance_value
try:
material = meta.materials[0] # lame! - blender cant do enything else.
material = meta.materials[0] # lame! - blender can't do anything else.
except:
material = None

View File

@ -52,7 +52,7 @@ def export_mesh(file,
except BaseException as e:
print(e.__doc__)
print("An exception occurred: {}".format(e))
# also happens when curves cant be made into meshes because of no-data
# also happens when curves can't be made into meshes because of no-data
return False # To continue object loop
if me:
me.calc_loop_triangles()

View File

@ -242,7 +242,7 @@ class RENDER_PT_POV_hues(RenderButtonsPanel, Panel):
class RENDER_PT_POV_pattern_rules(RenderButtonsPanel, Panel):
"""Use this class to change pov sets of texture generating algorythms."""
"""Use this class to change pov sets of texture generating algorithms."""
bl_label = "Pattern Rules"
bl_parent_id = "RENDER_PT_POV_render_settings"