fix for error caused with module relocation - broke loading ngons in OBJ files

This commit is contained in:
Campbell Barton
2011-06-18 11:40:44 +00:00
parent 1283b07409
commit 2d01cb5b27
2 changed files with 4 additions and 1 deletions

View File

@@ -267,6 +267,7 @@ def ngon_tesselate(from_data, indices, fix_loops=True):
fix_loops: If this is enabled polylines that use loops to make multiple polylines are delt with correctly.
'''
from mathutils.geometry import tesselate_polygon
from mathutils import Vector
vector_to_tuple = Vector.to_tuple