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:
Noisyfox 2025-01-22 09:58:15 +08:00 committed by GitHub
parent b488fdecec
commit a3de7cf0bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -198,7 +198,6 @@ private:
int picking_id_component(int idx) const;
public:
static const unsigned int PLATE_BASE_ID = 255 * 255 * 253;
static const unsigned int PLATE_NAME_HOVER_ID = 6;
static const unsigned int GRABBER_COUNT = 8;