mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 11:22:07 +00:00
Fix random crash when opening 3mf files that have bed size different than current (#7955)
* Fix bed raycast id * Fix bed raycaster UAF crash due to bed resizing
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
enum class EIdBase
|
||||
{
|
||||
Bed = 0,
|
||||
Volume = 1000,
|
||||
Volume = 1000, // Must be smaller than PartPlateList::MAX_PLATES_COUNT * PartPlate::GRABBER_COUNT
|
||||
Gizmo = 1000000,
|
||||
FallbackGizmo = 2000000
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user