diff --git a/src/meshlabplugins/epoch_io/epoch_camera.cpp b/src/meshlabplugins/epoch_io/epoch_camera.cpp index fc90d0cf4..aaa16097a 100644 --- a/src/meshlabplugins/epoch_io/epoch_camera.cpp +++ b/src/meshlabplugins/epoch_io/epoch_camera.cpp @@ -65,7 +65,7 @@ bool EpochCamera::Open(const char *filename) // on the right the rotated translation -Rt and 0001 in the // lower line. - R = R.transpose().eval(); + R.transposeInPlace(); #ifndef VCG_USE_EIGEN for(int i=0;i<3;++i) for(int j=0;j<3;++j) diff --git a/src/meshlabplugins/io_x3d/import_x3d.h b/src/meshlabplugins/io_x3d/import_x3d.h index 9af61ac45..5110da68f 100644 --- a/src/meshlabplugins/io_x3d/import_x3d.h +++ b/src/meshlabplugins/io_x3d/import_x3d.h @@ -2209,7 +2209,7 @@ namespace io { { vcg::Point3f normal(list.at(index).toFloat(), list.at(index + 1).toFloat(), list.at( index+ 2).toFloat()); vcg::Matrix44f intr44 = vcg::Inverse(tMatrix); - intr44 = intr44.transpose().eval(); + intr44.transposeInPlace(); Matrix33f intr33; for(unsigned int rr = 0; rr < 2; ++rr) {