Skip to content

Commit d8f725a

Browse files
author
David C. Lonie
committed
Fix bug in prepFillArea.
1 parent 65ee761 commit d8f725a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Packages/vcs/Lib/vcs2vtk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ def prepFillarea(renWin,ren,farea,cmap=None):
865865
idx = farea.index[i]
866866
N = max(len(x),len(y))
867867
for a in [x,y]:
868-
while len(a)<n:
868+
while len(a)<N:
869869
a.append(a[-1])
870870
#Create points
871871
pts = vtk.vtkPoints()

0 commit comments

Comments
 (0)