Skip to content

Commit

Permalink
fix #1947
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Jun 9, 2016
1 parent cd3e9f9 commit 1c5d355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Packages/vcs/vcs/vcsvtk/pipeline2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ def _prepContours(self):
I = indices[i]
O = opacities[i]
else:
if l[0] == L[-1] and\
if (l[0] == L[-1] and numpy.allclose(l[1]-l[0], L[-1]-L[-2])) and\
((style == 'solid') or
(I == indices[i] and C[-1] == self._contourColors[i] and
O == opacities[i])):
# Ok same type lets keep going
# Ok same type and interval length lets keep going
if numpy.allclose(l[1], 1.e20):
L.append(self._scalarRange[1] + 1.)
else:
Expand Down

0 comments on commit 1c5d355

Please sign in to comment.