Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed minor bug with empty text items.

  • Loading branch information...
commit ae7cbd2541aaf428e91ac50e3c50674803ba25dd 1 parent 551dd3b
@Fiona authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  engine/gfx/opengl/engine.py
View
3  engine/gfx/opengl/engine.py
@@ -445,6 +445,9 @@ def __init__(self, font, x, y, alignment, text, antialias = True):
def draw(self):
""" Welp """
+ if self.image is None:
+ return
+
glPushMatrix()
#get actual place to draw
Please sign in to comment.
Something went wrong with that request. Please try again.