mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed compilation issues caused by the previous commits
This commit is contained in:
parent
2caba92623
commit
ff3ae40aeb
4 changed files with 24 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "Analyzer.hpp"
|
||||
#include "PreviewData.hpp"
|
||||
#include <float.h>
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
|
@ -238,6 +239,11 @@ void GCodePreviewData::reset()
|
|||
unretraction.positions.clear();
|
||||
}
|
||||
|
||||
bool GCodePreviewData::empty() const
|
||||
{
|
||||
return extrusion.layers.empty() && travel.polylines.empty() && retraction.positions.empty() && unretraction.positions.empty();
|
||||
}
|
||||
|
||||
const GCodePreviewData::Color& GCodePreviewData::get_extrusion_role_color(ExtrusionRole role) const
|
||||
{
|
||||
return extrusion.role_colors[role];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue