[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21955] branches/soc-2008-mxcurioni/ release/scripts/freestyle/style_modules/Functions1D.py: Replaced missing integrateDouble() by integrate() newly implemented

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Tue Jul 28 02:34:22 CEST 2009


Revision: 21955
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21955
Author:   kjym3
Date:     2009-07-28 02:34:22 +0200 (Tue, 28 Jul 2009)

Log Message:
-----------
Replaced missing integrateDouble() by integrate() newly implemented
in revision 21954.

Revision Links:
--------------
    http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21954

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/release/scripts/freestyle/style_modules/Functions1D.py

Modified: branches/soc-2008-mxcurioni/release/scripts/freestyle/style_modules/Functions1D.py
===================================================================
--- branches/soc-2008-mxcurioni/release/scripts/freestyle/style_modules/Functions1D.py	2009-07-28 00:29:30 UTC (rev 21954)
+++ branches/soc-2008-mxcurioni/release/scripts/freestyle/style_modules/Functions1D.py	2009-07-28 00:34:22 UTC (rev 21955)
@@ -29,7 +29,7 @@
 	def getName(self):
 		return "pyDensityAnisotropyF1D"
 	def __call__(self, inter):
-		v =  integrateDouble(self._func, inter.pointsBegin(self._sampling), inter.pointsEnd(self._sampling), self._integration)
+		v = integrate(self._func, inter.pointsBegin(self._sampling), inter.pointsEnd(self._sampling), self._integration)
 		return v
 
 class pyViewMapGradientNormF1D(UnaryFunction1DDouble):
@@ -41,5 +41,5 @@
 	def getName(self):
 		return "pyViewMapGradientNormF1D"
 	def __call__(self, inter):
-		v =  integrateDouble(self._func, inter.pointsBegin(self._sampling), inter.pointsEnd(self._sampling), self._integration)
+		v = integrate(self._func, inter.pointsBegin(self._sampling), inter.pointsEnd(self._sampling), self._integration)
 		return v





More information about the Bf-blender-cvs mailing list