mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
Keep non-sinking volumes on top of the printbed while scaling
This commit is contained in:
parent
097afc6598
commit
368cfedbc7
2 changed files with 30 additions and 7 deletions
|
@ -186,6 +186,10 @@ private:
|
|||
// to a set of indices of ModelVolume instances in ModelObject::instances
|
||||
// Here the index means a position inside the respective std::vector, not ObjectID.
|
||||
ObjectIdxsToInstanceIdxsMap content;
|
||||
#if ENABLE_ALLOW_NEGATIVE_Z
|
||||
// List of ids of the volumes which are sinking when starting dragging
|
||||
std::vector<unsigned int> sinking_volumes;
|
||||
#endif // ENABLE_ALLOW_NEGATIVE_Z
|
||||
};
|
||||
|
||||
// Volumes owned by GLCanvas3D.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue