mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-02 18:12:43 +00:00
Turn ExtrusionLoop into a collection of polylines. Includes some changes to the Polygon API to avoid returning newly allocatd objects
This commit is contained in:
@@ -33,7 +33,7 @@ template <class T>
|
||||
class Clone {
|
||||
T* val;
|
||||
public:
|
||||
Clone() {}
|
||||
Clone() : val() {}
|
||||
Clone(T* t) : val(new T(*t)) {}
|
||||
Clone(const T& t) : val(new T(t)) {}
|
||||
operator T*() const {return val; }
|
||||
|
||||
Reference in New Issue
Block a user