1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-28 10:45:50 +00:00

Fixed two more locales-related issues

One warning was also fixed
This commit is contained in:
Lukas Matena
2021-06-07 12:30:57 +02:00
parent 8e75919948
commit 1f29a2593b
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ private:
auto it_val = it->second.find(parameter_name);
if (it_val == it->second.end())
return false;
out = T(::atof(it_val->second.c_str()));
out = T(string_to_double_decimal_point(it_val->second));
return true;
}
+1
View File
@@ -1494,6 +1494,7 @@ Transformation Transformation::volume_to_bed_transformation(const Transformation
// For parsing a transformation matrix from 3MF / AMF.
Transform3d transform3d_from_string(const std::string& transform_str)
{
assert(is_decimal_separator_point()); // for atof
Transform3d transform = Transform3d::Identity();
if (!transform_str.empty())