Fix wipe tower not showing purged filament volume for non BBL SEMM (#5223)

* Fix wipe tower not showing purged filament values for non BBL SEMM
This commit is contained in:
Ioannis Giannakas
2024-05-02 14:33:53 +01:00
committed by GitHub
parent 91d7f07d8f
commit d2e76212b1
2 changed files with 11 additions and 2 deletions

View File

@@ -76,6 +76,9 @@ public:
m_gcode_flavor(flavor),
m_filpar(filament_parameters)
{
// ORCA: This class is only used by BBL printers, so set the parameter appropriately.
// This fixes an issue where the wipe tower was using BBL tags resulting in statistics for purging in the purge tower not being displayed.
GCodeProcessor::s_IsBBLPrinter = true;
// adds tag for analyzer:
std::ostringstream str;
str << ";" << GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Height) << std::to_string(m_layer_height) << "\n"; // don't rely on GCodeAnalyzer knowing the layer height - it knows nothing at priming