Changeset 1793
 Timestamp:
 Aug 23, 2012, 1:39:01 PM (8 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/easymesh/easymesh.cpp
r1784 r1793 244 244 for (int i = m_cursors.Last().m1 + 1; i < m_vert.Count(); i++) 245 245 { 246 int j ;247 for (j = m_cursors.Last().m1 ; j < i; j++)246 int j, k; 247 for (j = m_cursors.Last().m1, k = 0; j < i; j++, k++) 248 248 { 249 if(sqlength(m_vert[i].m1  m_vert[j].m1) < 0.1f) 249 if(Welded[k] < 0) 250 { 251 vec3 diff = m_vert[i].m1  m_vert[j].m1; 252 253 if(diff.x > 0.1f  diff.x < 0.1f) 254 continue; 255 256 if(diff.y > 0.1f  diff.y < 0.1f) 257 continue; 258 259 if(diff.z > 0.1f  diff.z < 0.1f) 260 continue; 261 250 262 break; 263 } 251 264 } 252 265
Note: See TracChangeset
for help on using the changeset viewer.