mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Fixed retrieving of the "saved in inches" flag from 3MF.
Fixed "import STL from Inches" - it should always scale up even if the object is bigger than 3x3x3mm.
This commit is contained in:
parent
3795f6b779
commit
9fdf8c8b8d
4 changed files with 11 additions and 9 deletions
|
@ -1928,7 +1928,7 @@ namespace Slic3r {
|
|||
else if (metadata.key == SOURCE_OFFSET_Z_KEY)
|
||||
volume->source.mesh_offset(2) = ::atof(metadata.value.c_str());
|
||||
else if (metadata.key == SOURCE_IN_INCHES)
|
||||
volume->source.is_converted_from_inches = metadata.value.c_str() == "1";
|
||||
volume->source.is_converted_from_inches = metadata.value == "1";
|
||||
else
|
||||
volume->config.set_deserialize(metadata.key, metadata.value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue