mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
Fixed some more issues in copy / paste of objects and volumes
due to the layer_height_profile, paint on supports and seam being stored as an object on its own onto the Undo / Redo stack.
This commit is contained in:
parent
00a7799341
commit
a8fda7d2f1
5 changed files with 171 additions and 45 deletions
|
@ -108,6 +108,8 @@ protected:
|
|||
// Resetting timestamp to 1 indicates the object is in its initial (cleared) state.
|
||||
// To be called by the derived class's clear() method.
|
||||
void reset_timestamp() { m_timestamp = 1; }
|
||||
// The timestamp uniquely identifies content of the derived class' data, therefore it makes sense to copy the timestamp if the content data was copied.
|
||||
void copy_timestamp(const ObjectWithTimestamp& rhs) { m_timestamp = rhs.m_timestamp; }
|
||||
|
||||
public:
|
||||
// Return an optional timestamp of this object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue