Bugfix only for a queer bug that occurs (in non of my previous tests) where an edge is added with the same verts- an invalid edge of course.
This commit is contained in:
parent
a33bd50108
commit
13e4883b96
@ -705,9 +705,11 @@ def load_obj(\
|
||||
|
||||
for edgeVerts, users in edgeUsers.iteritems():
|
||||
if users:
|
||||
ed= currentMesh.addEdge(\
|
||||
currentMesh.verts[edgeVerts[0]],\
|
||||
currentMesh.verts[edgeVerts[1]])
|
||||
i1,i2= edgeVerts
|
||||
if i1!=i2:
|
||||
ed= currentMesh.addEdge(\
|
||||
currentMesh.verts[i1],\
|
||||
currentMesh.verts[i2])
|
||||
|
||||
ed.flag|= EDGE_FGON_FLAG
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user