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