mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
FIX: do not upload auxilary file when send a printing job
Change-Id: I030cb93cf9b34036bf4f9164a2bd691b23328a9b Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
cb2e89d93e
commit
3651066a77
3 changed files with 6 additions and 3 deletions
|
@ -3827,6 +3827,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
|
|||
bool m_split_model { false }; // save object per file with Production Extention
|
||||
bool m_save_gcode { false }; // whether to save gcode for normal save
|
||||
bool m_skip_model { false }; // skip model when exporting .gcode.3mf
|
||||
bool m_skip_auxiliary { false }; // skip normal axuiliary files
|
||||
|
||||
public:
|
||||
//BBS: add plate data related logic
|
||||
|
@ -3910,6 +3911,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
|
|||
m_split_model = store_params.strategy & SaveStrategy::SplitModel;
|
||||
m_save_gcode = store_params.strategy & SaveStrategy::WithGcode;
|
||||
m_skip_model = store_params.strategy & SaveStrategy::SkipModel;
|
||||
m_skip_auxiliary = store_params.strategy & SaveStrategy::SkipAuxiliary;
|
||||
|
||||
boost::system::error_code ec;
|
||||
std::string filename = std::string(store_params.path);
|
||||
|
@ -5826,7 +5828,7 @@ bool _BBS_3MF_Exporter::_add_auxiliary_dir_to_archive(mz_zip_archive &archive, c
|
|||
}
|
||||
continue;
|
||||
}
|
||||
if (boost::filesystem::is_regular_file(dir_entry.path()))
|
||||
if (boost::filesystem::is_regular_file(dir_entry.path()) && !m_skip_auxiliary)
|
||||
{
|
||||
src_file = dir_entry.path().string();
|
||||
dst_in_3mf = dir_entry.path().string();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue