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:
Diffstat (limited to 'object_carver/carver_draw.py')
-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)