Mesh edit option 'AutoMerge' - access from the mesh menu, basically runs remove doubles after transform. but only merges

unselected verts into selected verts, so it wont merge verts your not editing.
This commit is contained in:
2007-10-18 21:47:55 +00:00
parent 87b9283e1d
commit 5ea45a1385
11 changed files with 122 additions and 48 deletions

View File

@@ -3526,7 +3526,7 @@ static PyObject *MEdgeSeq_collapse( BPy_MEdgeSeq * self, PyObject *args )
basact = BASACT;
BASACT = base;
removedoublesflag( 1, 0.0 );
removedoublesflag( 1, 0, 0.0 );
/* make mesh's object active, enter mesh edit mode */
G.obedit = object;
@@ -7214,7 +7214,7 @@ static PyObject *Mesh_Tools( BPy_Mesh * self, int type, void **args )
esubdivideflag( 1, 0.0, *((int *)args[0]), 1, 0 );
break;
case MESH_TOOL_REMDOUB:
result = removedoublesflag( 1, *((float *)args[0]) );
result = removedoublesflag( 1, 0, *((float *)args[0]) );
attr = PyInt_FromLong( result );
if( !attr )