diff options
Diffstat (limited to 'space_view3d_math_vis/draw.py')
-rw-r--r-- | space_view3d_math_vis/draw.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/space_view3d_math_vis/draw.py b/space_view3d_math_vis/draw.py index 09cb2fe2..1875afcd 100644 --- a/space_view3d_math_vis/draw.py +++ b/space_view3d_math_vis/draw.py @@ -113,7 +113,8 @@ def draw_callback_px(): # lines if data_vector_array: for key, vec in data_vector_array.items(): - draw_text(key, vec[0]) + if vec and len(vec) > 0: + draw_text(key, vec[0]) # matrix if data_matrix: |