mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-05 11:32:53 +00:00
Reverting manual unification. It does not help performance.
This commit is contained in:
@@ -335,9 +335,6 @@ public:
|
||||
// The collection of slice records for the current level.
|
||||
std::vector<std::reference_wrapper<const SliceRecord>> m_slices;
|
||||
|
||||
// No need for concurrency handling with CachedObject (hopefully)
|
||||
mutable ExPolygons m_trcache;
|
||||
|
||||
public:
|
||||
|
||||
explicit PrintLayer(coord_t lvl) : m_level(lvl) {}
|
||||
@@ -347,13 +344,11 @@ public:
|
||||
return m_level < other.m_level;
|
||||
}
|
||||
|
||||
void add(const SliceRecord& sr) {
|
||||
m_trcache.clear(); m_slices.emplace_back(sr);
|
||||
}
|
||||
void add(const SliceRecord& sr) { m_slices.emplace_back(sr); }
|
||||
|
||||
coord_t level() const { return m_level; }
|
||||
|
||||
const ExPolygons& transformed_slice(SLADisplayOrientation o) const;
|
||||
auto slices() const -> const decltype (m_slices)& { return m_slices; }
|
||||
};
|
||||
|
||||
SLAPrint(): m_stepmask(slapsCount, true) {}
|
||||
|
||||
Reference in New Issue
Block a user