1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-14 08:34:26 +00:00

Fix compilation on Linux.

This commit is contained in:
bubnikv
2016-12-12 18:59:35 +01:00
parent e5b77e08de
commit ce7717e450
+1 -1
View File
@@ -67,7 +67,7 @@ float SlicingAdaptive::cusp_height(float z, float cusp_value, int &current_facet
continue;
// compute cusp-height for this facet and store minimum of all heights
float normal_z = m_face_normal_z[ordered_id];
height = std::min(height, (normal_z == 0) ? 9999 : abs(cusp_value / normal_z));
height = std::min(height, (normal_z == 0.f) ? 9999.f : std::abs(cusp_value / normal_z));
}
}