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:
authorCampbell Barton <ideasman42@gmail.com>2017-09-04 14:53:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-09-04 14:53:09 +0300
commit31d6fbc2bfce889c6b21f1cb41c75ad9205674af (patch)
tree4862b1d45316c581f02d16e704969e69c564f552 /space_view3d_math_vis
parent3c6eef90704ea6231f9255cced57a78750408aa5 (diff)
Remove redundant len check
Diffstat (limited to 'space_view3d_math_vis')
-rw-r--r--space_view3d_math_vis/draw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/space_view3d_math_vis/draw.py b/space_view3d_math_vis/draw.py
index 1875afcd..8a8cfa7a 100644
--- a/space_view3d_math_vis/draw.py
+++ b/space_view3d_math_vis/draw.py
@@ -113,7 +113,7 @@ def draw_callback_px():
# lines
if data_vector_array:
for key, vec in data_vector_array.items():
- if vec and len(vec) > 0:
+ if vec:
draw_text(key, vec[0])
# matrix