mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
Added version check for .3mf and .amf project files. PrusaSlicer will refuse to import files with newer version numbers.
This commit is contained in:
parent
058a1d9a98
commit
c7cdb2fd3e
7 changed files with 62 additions and 31 deletions
|
@ -24,7 +24,7 @@ namespace Slic3r {
|
|||
class DynamicPrintConfig;
|
||||
|
||||
// Load the content of a 3mf file into the given model and preset bundle.
|
||||
extern bool load_3mf(const char* path, DynamicPrintConfig* config, Model* model);
|
||||
extern bool load_3mf(const char* path, DynamicPrintConfig* config, Model* model, bool check_version);
|
||||
|
||||
// Save the given model and the config data contained in the given Print into a 3mf file.
|
||||
// The model could be modified during the export process if meshes are not repaired or have no shared vertices
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue