[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3520] contrib/py/scripts/addons/ geodesic_domes/vefm_259.py: update for api changes 'mathutils.Vector' to ' Vector'
Brendon Murphy
meta.androcto1 at gmail.com
Fri Jun 22 12:16:51 CEST 2012
Revision: 3520
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3520
Author: meta-androcto
Date: 2012-06-22 10:16:43 +0000 (Fri, 22 Jun 2012)
Log Message:
-----------
update for api changes 'mathutils.Vector' to 'Vector'
Modified Paths:
--------------
contrib/py/scripts/addons/geodesic_domes/vefm_259.py
Modified: contrib/py/scripts/addons/geodesic_domes/vefm_259.py
===================================================================
--- contrib/py/scripts/addons/geodesic_domes/vefm_259.py 2012-06-22 09:05:26 UTC (rev 3519)
+++ contrib/py/scripts/addons/geodesic_domes/vefm_259.py 2012-06-22 10:16:43 UTC (rev 3520)
@@ -122,14 +122,14 @@
#???PKHG TODO why are add and sub different? Solved check the two cases used
def __add__(self,other):
- if "<class 'mathutils.Vector'>" == str(type(other)):
+ if "<class 'Vector'>" == str(type(other)):
tmp = self.vector + other
else:
tmp = self.vector + other.vector
return vertex(tmp)
def __sub__(self,other):
- if "<class 'mathutils.Vector'>" == str(type(other)):
+ if "<class 'Vector'>" == str(type(other)):
tmp = self.vector - other
else:
tmp = self.vector - other.vector
More information about the Bf-extensions-cvs
mailing list