From 9525d8657a5bdbf08ea4bf381ef443cb0a5ed893 Mon Sep 17 00:00:00 2001 From: "lane.wei" Date: Wed, 17 Jul 2024 10:16:39 +0800 Subject: [PATCH] ENH: CLI: remove the limitation of assemble and transform JIRA: no-jira Change-Id: I2c2a880e64b844a9dbed0d62bbe749f3f7e85753 --- src/BambuStudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BambuStudio.cpp b/src/BambuStudio.cpp index 08ffcefe5..d60629894 100644 --- a/src/BambuStudio.cpp +++ b/src/BambuStudio.cpp @@ -1489,7 +1489,7 @@ int CLI::run(int argc, char **argv) BOOST_LOG_TRIVIAL(info) << boost::format("plate_to_slice=%1%, normative_check=%2%, use_first_fila_as_default=%3%")%plate_to_slice %normative_check %use_first_fila_as_default; unsigned int input_index = 0; std::vector input_obj_colours; - if (!load_assemble_list.empty() && ((m_input_files.size() > 0) || (m_transforms.size() > 0))) + if (!load_assemble_list.empty() && (m_input_files.size() > 0)) { BOOST_LOG_TRIVIAL(error) << boost::format("load_assemble_list should not be used with input model files to load and should not be sued with transforms"); record_exit_reson(outfile_dir, CLI_INVALID_PARAMS, 0, cli_errors[CLI_INVALID_PARAMS], sliced_info);