src/ldtypes.cpp

changeset 362
344fe1da32c8
parent 359
bcdfc801658b
child 376
4a89dd47535f
equal deleted inserted replaced
361:f4c029f2a75b 362:344fe1da32c8
192 if( obj == this ) 192 if( obj == this )
193 obj = other; 193 obj = other;
194 elif( obj == other ) 194 elif( obj == other )
195 obj = this; 195 obj = this;
196 } 196 }
197
198 g_curfile->addToHistory( new SwapHistory( id(), other->id() ));
197 } 199 }
198 200
199 LDLine::LDLine( vertex v1, vertex v2 ) 201 LDLine::LDLine( vertex v1, vertex v2 )
200 { 202 {
201 setVertex( 0, v1 ); 203 setVertex( 0, v1 );

mercurial