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-07-31 14:27:19 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-07-31 14:28:52 +0300
commit4e1cda9885a6ef508396a8f60c292350af8f3f3d (patch)
treee3051b0a0710fd83e241531426e263c6c8542f6c /object_carver
parent2176c8f2aaac6eb1fb6d1e159100396f1c500f22 (diff)
Spelling fixes in comments and descriptions, patch by luzpaz
Differential Revision: https://developer.blender.org/D5240
Diffstat (limited to 'object_carver')
-rw-r--r--object_carver/carver_draw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/object_carver/carver_draw.py b/object_carver/carver_draw.py
index 1e8d636c..be2b5a4d 100644
--- a/object_carver/carver_draw.py
+++ b/object_carver/carver_draw.py
@@ -63,7 +63,7 @@ def draw_string(self, color1, color2, left, bottom, text, max_option, divide = 1
line_height = (blf.dimensions(font_id, "gM")[1] * 1.45)
y_offset = 5
- # Test if the text is a list formated like : ('option', 'key')
+ # Test if the text is a list formatted like : ('option', 'key')
if isinstance(text,list):
for string in text:
blf.position(font_id, (left), (bottom + y_offset), 0)
@@ -76,7 +76,7 @@ def draw_string(self, color1, color2, left, bottom, text, max_option, divide = 1
blf.draw(font_id, string[1])
y_offset += line_height
else:
- # The text is formated like : ('option')
+ # The text is formatted like : ('option')
blf.position(font_id, left, (bottom + y_offset), 0)
blf.color(font_id, *color1)
blf.draw(font_id, text)