[cig-commits] r4520 - mc/3D/CitcomS/trunk/visual/Mayavi2/plugins/filter

maweier at geodynamics.org maweier at geodynamics.org
Wed Sep 13 12:04:24 PDT 2006


Author: maweier
Date: 2006-09-13 12:04:24 -0700 (Wed, 13 Sep 2006)
New Revision: 4520

Modified:
   mc/3D/CitcomS/trunk/visual/Mayavi2/plugins/filter/CitcomSreduce.py
Log:
Changed range trait.


Modified: mc/3D/CitcomS/trunk/visual/Mayavi2/plugins/filter/CitcomSreduce.py
===================================================================
--- mc/3D/CitcomS/trunk/visual/Mayavi2/plugins/filter/CitcomSreduce.py	2006-09-12 23:53:34 UTC (rev 4519)
+++ mc/3D/CitcomS/trunk/visual/Mayavi2/plugins/filter/CitcomSreduce.py	2006-09-13 19:04:24 UTC (rev 4520)
@@ -45,8 +45,8 @@
     # input data changes).
     Radius = Range(0.0, 1.0, 0.0, desc='adjust radius')
     
-    theta = Range(0, 40, 3, desc='the theta resolution')
-    phi = Range(0, 40, 3, desc='the upper threshold of the filter')
+    theta = Range(3, 40, 3, desc='the theta resolution')
+    phi = Range(3, 40, 3, desc='the upper threshold of the filter')
 
     Selected_Source = Enum(  'Sphere','CitcomSGrid',)
     
@@ -201,7 +201,7 @@
     
     def _phi_changed(self, new_value):
         fil = self.probe_filter
-        self._calc_grid(self.Radius,self.phi,new_value)
+        self._calc_grid(self.Radius,self.theta,new_value)
         fil.update()
         self.data_changed = True
         



More information about the cig-commits mailing list