updated py scripts for changes in mathutils

This commit is contained in:
2006-07-27 03:15:37 +00:00
parent 403b62fbcf
commit 3f5e14abef
6 changed files with 8 additions and 14 deletions

View File

@@ -1043,10 +1043,7 @@ def pointInsideMesh(ob, pt):
else:
return False
obImvMat = Blender.Mathutils.Matrix(ob.matrixWorld)
obImvMat.invert()
obSpacePt = pt*obImvMat
obSpacePt = pt*ob.matrixWorld.inverted()
ray = Vector(0,0,-1)
me= ob.getData(mesh=1)