mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Fixed usage of template method, worked only on non-standard MS compiler.
This commit is contained in:
@@ -214,7 +214,7 @@ inline void stl_transform(stl_file *stl, const Eigen::Transform<T, 3, Eigen::Aff
|
|||||||
if (stl->error)
|
if (stl->error)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const Eigen::Matrix<double, 3, 3, Eigen::DontAlign> r = t.matrix().block<3, 3>(0, 0);
|
const Eigen::Matrix<double, 3, 3, Eigen::DontAlign> r = t.matrix().template block<3, 3>(0, 0);
|
||||||
for (size_t i = 0; i < stl->stats.number_of_facets; ++i) {
|
for (size_t i = 0; i < stl->stats.number_of_facets; ++i) {
|
||||||
stl_facet &f = stl->facet_start[i];
|
stl_facet &f = stl->facet_start[i];
|
||||||
for (size_t j = 0; j < 3; ++j)
|
for (size_t j = 0; j < 3; ++j)
|
||||||
|
|||||||
Reference in New Issue
Block a user