src/addObjectDialog.cpp

changeset 542
46a33bdc0b36
parent 540
0334789cb4d7
child 551
0efe5dbcef07
equal deleted inserted replaced
541:0e38beeb050a 542:46a33bdc0b36
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());

mercurial