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); |