src/gui_editactions.cpp

changeset 540
0334789cb4d7
parent 539
72ad83a67165
child 541
0e38beeb050a
equal deleted inserted replaced
539:72ad83a67165 540:0334789cb4d7
455 } elif (obj->hasMatrix()) 455 } elif (obj->hasMatrix())
456 456
457 { LDMatrixObject* mo = dynamic_cast<LDMatrixObject*> (obj); 457 { LDMatrixObject* mo = dynamic_cast<LDMatrixObject*> (obj);
458 458
459 // Transform the position 459 // Transform the position
460 vertex v = mo->position(); 460 vertex v = mo->getPosition();
461 rotateVertex (v, rotpoint, transform); 461 rotateVertex (v, rotpoint, transform);
462 mo->setPosition (v); 462 mo->setPosition (v);
463 463
464 // Transform the matrix 464 // Transform the matrix
465 mo->setTransform (mo->getTransform() * transform); 465 mo->setTransform (mo->getTransform() * transform);

mercurial