diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-07-31 14:27:19 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-07-31 14:28:52 +0300 |
commit | 4e1cda9885a6ef508396a8f60c292350af8f3f3d (patch) | |
tree | e3051b0a0710fd83e241531426e263c6c8542f6c /object_carver | |
parent | 2176c8f2aaac6eb1fb6d1e159100396f1c500f22 (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.py | 4 |
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) |