219 // le_matrix->setValidator (new QDoubleValidator); |
219 // le_matrix->setValidator (new QDoubleValidator); |
220 matrix defaultMatrix = g_identity; |
220 matrix defaultMatrix = g_identity; |
221 |
221 |
222 if (mo) |
222 if (mo) |
223 { for (const Axis ax : g_Axes) |
223 { for (const Axis ax : g_Axes) |
224 dsb_coords[ax]->setValue (mo->getPosition() [ax]); |
224 dsb_coords[ax]->setValue (mo->getPosition()[ax]); |
225 |
225 |
226 defaultMatrix = mo->getTransform(); |
226 defaultMatrix = mo->getTransform(); |
227 } |
227 } |
228 |
228 |
229 le_matrix->setText (defaultMatrix.stringRep()); |
229 le_matrix->setText (defaultMatrix.stringRep()); |