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 <brechtvanlommel@gmail.com>2019-10-01 21:13:26 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-10-01 21:13:26 +0300
commited161459d14a31fd237cd1f65a7070113ae3300f (patch)
tree375a2763bf4fa7135aa4e64c92fccaaa335a4034 /materials_utils
parent50c493fb22869e0e08936c4b7a44624887b1de58 (diff)
Fix typos in source comments and descriptions
Patch contributed by luzpaz. Differential Revision: https://developer.blender.org/D5800
Diffstat (limited to 'materials_utils')
-rw-r--r--materials_utils/__init__.py2
-rw-r--r--materials_utils/functions.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/materials_utils/__init__.py b/materials_utils/__init__.py
index 2a4561f4..b78119e8 100644
--- a/materials_utils/__init__.py
+++ b/materials_utils/__init__.py
@@ -116,7 +116,7 @@ from bpy.types import (
)
-# All classes used by Material Utilities, that need to be registred
+# All classes used by Material Utilities, that need to be registered
classes = (
VIEW3D_OT_materialutilities_assign_material_object,
VIEW3D_OT_materialutilities_assign_material_edit,
diff --git a/materials_utils/functions.py b/materials_utils/functions.py
index b8afc04f..4663fbeb 100644
--- a/materials_utils/functions.py
+++ b/materials_utils/functions.py
@@ -140,7 +140,7 @@ def mu_assign_material(self, material_name = "Default", override_type = 'APPEND_
obj.material_slots[0].material = target
if obj.type == 'META':
- self.report({'INFO'}, "Meta balls only support one material, all other materials overriden!")
+ self.report({'INFO'}, "Meta balls only support one material, all other materials overridden!")
# If we should override each material slot
elif override_type == 'OVERRIDE_SLOTS':
@@ -626,7 +626,7 @@ def mu_change_material_link(self, link, affect, override_data_material = False):
elif not override_data_material:
self.report({'INFO'},
'The object Data for object ' + object.name_full + ' already had a material assigned ' +
- 'to slot #' + str(index) + ' (' + slot.material.name + '), it was not overriden!')
+ 'to slot #' + str(index) + ' (' + slot.material.name + '), it was not overridden!')
if override_data_material:
slot.material = present_material