src/gui_editactions.cc

changeset 595
b6b39c1721a1
parent 590
7aec744ce97b
child 600
209e3f1f7b2c
equal deleted inserted replaced
594:d9feccafcbf7 595:b6b39c1721a1
459 rotateVertex (v, rotpoint, transform); 459 rotateVertex (v, rotpoint, transform);
460 mo->setPosition (v); 460 mo->setPosition (v);
461 */ 461 */
462 462
463 // Transform the matrix 463 // Transform the matrix
464 mo->setTransform (mo->getTransform() * transform); 464 mo->setTransform (transform * mo->getTransform());
465 } elif (obj->getType() == LDObject::Vertex) 465 } elif (obj->getType() == LDObject::Vertex)
466 { LDVertex* vert = static_cast<LDVertex*> (obj); 466 { LDVertex* vert = static_cast<LDVertex*> (obj);
467 vertex v = vert->pos; 467 vertex v = vert->pos;
468 rotateVertex (v, rotpoint, transform); 468 rotateVertex (v, rotpoint, transform);
469 vert->pos = v; 469 vert->pos = v;

mercurial