/[escript]/trunk/pyvisi/py_src/carpet.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/carpet.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1158 by jongui, Tue May 22 04:24:01 2007 UTC revision 1189 by jongui, Thu Jun 7 05:31:25 2007 UTC
# Line 139  class Carpet(DataSetMapper, Actor3D, War Line 139  class Carpet(DataSetMapper, Actor3D, War
139          if (self._isModified() == True):          if (self._isModified() == True):
140              if(self.__data_collector._isScalarSet() == True):              if(self.__data_collector._isScalarSet() == True):
141                  self.__data_collector._setActiveScalar()                  self.__data_collector._setActiveScalar()
142              self._setScalarRange(self.__data_collector._getScalarRange())  
143                # self._isScalarRangeSet checks whether the scalar range has been
144                # specified by the user. If it has, then the scalar range
145                # read from the source will be ignored.
146                if(not(self._isScalarRangeSet())):
147                    self._setScalarRange(self.__data_collector._getScalarRange())
148              self.__modified = False              self.__modified = False
149    
150    

Legend:
Removed from v.1158  
changed lines
  Added in v.1189

  ViewVC Help
Powered by ViewVC 1.1.26