removed the now unneeded resize4d operation for instant 2.43 incompatability. :/
[blender.git] / release / scripts / bpymodules / BPyMesh.py
index 68462e509204c60469295c7ae5267aca576fbb99..33daa347a30ed4c2bf891d325d45dd7f5325500e 100644 (file)
@@ -1046,10 +1046,7 @@ def pointInsideMesh(ob, pt):
        
        obImvMat = Blender.Mathutils.Matrix(ob.matrixWorld)
        obImvMat.invert()
-       pt.resize4D()
-       obSpacePt = pt* obImvMat
-       pt.resize3D()
-       obSpacePt.resize3D()
+       obSpacePt = pt*obImvMat
        ray = Vector(0,0,-1)
        me= ob.getData(mesh=1)