diff -r 22bc5862cb56 -r 0d6162662040 src/widgets/matrixeditor.cpp --- a/src/widgets/matrixeditor.cpp Sun Jun 17 17:07:29 2018 +0300 +++ b/src/widgets/matrixeditor.cpp Tue Jun 19 21:49:21 2018 +0300 @@ -176,9 +176,10 @@ (float) ui.positionX->value(), (float) ui.positionY->value(), (float) ui.positionZ->value(), - 0.0f + 1.0f }; transformationMatrix.setColumn(3, translation); + transformationMatrix.optimize(); return transformationMatrix; }