Skip to content

Commit

Permalink
was an easy fix
Browse files Browse the repository at this point in the history
add to let update know to use CellData rather than PointData
code was in place but was returning False rather than True in this instance
fix #1234
still need to add tests
  • Loading branch information
doutriaux1 committed Apr 27, 2015
1 parent 17b86d0 commit ce1fbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packages/vcs/Lib/VTKPlots.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ def plot2D(self,data1,data2,tmpl,gm,vtk_backend_grid=None,vtk_backend_geo=None):
else:
lmx= levs[-1]
mapper.SetScalarRange(lmn,lmx)
returned["vtk_backend_luts"]=[[lut,[lmn,lmx,False]],]
returned["vtk_backend_luts"]=[[lut,[lmn,lmx,True]],]

if missingMapper is not None:
if isinstance(gm,meshfill.Gfm):
Expand Down

0 comments on commit ce1fbfb

Please sign in to comment.