mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF set as default
This commit is contained in:
parent
b0218daafe
commit
904263d231
14 changed files with 1 additions and 123 deletions
|
@ -51,11 +51,7 @@ SCENARIO("Export+Import geometry to/from 3mf file cycle", "[3mf]") {
|
|||
WHEN("model is saved+loaded to/from 3mf file") {
|
||||
// save the model to 3mf file
|
||||
std::string test_file = std::string(TEST_DATA_DIR) + "/test_3mf/prusa.3mf";
|
||||
#if ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF
|
||||
store_3mf(test_file.c_str(), &src_model, nullptr, false);
|
||||
#else
|
||||
store_3mf(test_file.c_str(), &src_model, nullptr);
|
||||
#endif // ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF
|
||||
|
||||
// load back the model from the 3mf file
|
||||
Model dst_model;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue