Fixed import from 3mf of rotated models

This commit is contained in:
Enrico Turri 2018-12-14 09:52:15 +01:00
parent f3e238073b
commit 07943ae669
2 changed files with 2 additions and 2 deletions

View file

@ -1876,7 +1876,7 @@ namespace Slic3r {
vertices_count += stl.stats.shared_vertices;
#if ENABLE_MODELVOLUME_TRANSFORM
Transform3d matrix = volume->get_matrix();
const Transform3d& matrix = volume->get_matrix();
#endif // ENABLE_MODELVOLUME_TRANSFORM
for (int i = 0; i < stl.stats.shared_vertices; ++i)