Fixed incompatibility with Python 3.6 (used in Blender 2.79b)

This commit is contained in:
2018-11-01 18:30:10 +01:00
parent 6fefe4ffd8
commit 3f2479067c
2 changed files with 3 additions and 3 deletions

View File

@@ -179,8 +179,8 @@ def draw_callback_px(line_drawer: AttractLineDrawer):
strips = shown_strips(context)
coords: typing.List[Float2] = []
colors: typing.List[Float4] = []
coords = [] # type: typing.List[Float2]
colors = [] # type: typing.List[Float4]
# Collect all the lines (vertex coords + vertex colours) to draw.
for strip in strips: