diff -r 82f784cf2ce5 -r 9bb6a17305ad src/addObjectDialog.cpp --- a/src/addObjectDialog.cpp Fri May 10 21:45:36 2013 +0300 +++ b/src/addObjectDialog.cpp Sat May 11 04:02:13 2013 +0300 @@ -265,7 +265,7 @@ QLabel* lb_matrix = new QLabel ("Matrix:"); le_matrix = new QLineEdit; // le_matrix->setValidator (new QDoubleValidator); - matrix<3> defval = g_identity; + matrix defval = g_identity; if (obj) { if (obj->getType () == LDObject::Subfile) @@ -385,7 +385,7 @@ if (!newObject) backup = obj->clone (); - matrix<3> transform = g_identity; + matrix transform = g_identity; if (type == LDObject::Subfile || type == LDObject::Radial) { vector matrixstrvals = str (dlg.le_matrix->text ()).split (" "); @@ -396,7 +396,7 @@ for (str val : matrixstrvals) matrixvals[i++] = atof (val); - transform = matrix<3> (matrixvals); + transform = matrix (matrixvals); } }