mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 18:30:39 +08:00
FIX: fix adjust of cooling time
Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: I5eae0ed7e53fddb18c99f510373ba5a687fd2c8e
This commit is contained in:
parent
c909fd9178
commit
0b0a1a3d48
@ -349,9 +349,9 @@ std::vector<PerExtruderAdjustments> CoolingBuffer::parse_layer_gcode(const std::
|
||||
++ line_end;
|
||||
CoolingLine line(0, line_start - gcode.c_str(), line_end - gcode.c_str());
|
||||
|
||||
std::string prefix = Slic3r::GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Layer_Change);
|
||||
std::string prefix = ";" + Slic3r::GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Layer_Change);
|
||||
|
||||
if (boost::starts_with(sline, "; " + prefix)) {
|
||||
if (boost::starts_with(sline, prefix)) {
|
||||
layer_change = true;
|
||||
layer_print = false;
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user