From ecaa5fa2e65d292ee09934eafcc60fc76eacdf6a Mon Sep 17 00:00:00 2001 From: "lane.wei" Date: Tue, 15 Aug 2023 13:04:37 +0800 Subject: [PATCH] FIX: CLI: add logic to allow use cached_data while printer size change when print profile created on small printers the cached data should also be used JIRA: MAK-1658 Change-Id: I31e801bd3116838baaeaef44f4aa6d53d65aa058 --- src/BambuStudio.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BambuStudio.cpp b/src/BambuStudio.cpp index 8419db726..9bdb19fc2 100644 --- a/src/BambuStudio.cpp +++ b/src/BambuStudio.cpp @@ -2660,9 +2660,9 @@ int CLI::run(int argc, char **argv) } else if (shrink_to_new_bed) { - BOOST_LOG_TRIVIAL(error) << "should not set load_slicedata when shrink_to_new_bed(switch printer from small to bigger." << std::endl; - record_exit_reson(outfile_dir, CLI_INVALID_PARAMS, 0, cli_errors[CLI_INVALID_PARAMS]); - flush_and_exit(CLI_INVALID_PARAMS); + BOOST_LOG_TRIVIAL(warning) << "use load_slicedata when shrink_to_new_bed(switch printer from small to bigger." << std::endl; + //record_exit_reson(outfile_dir, CLI_INVALID_PARAMS, 0, cli_errors[CLI_INVALID_PARAMS]); + //flush_and_exit(CLI_INVALID_PARAMS); } } else if (opt_key == "export_settings") { //FIXME check for mixing the FFF / SLA parameters.