Tech ENABLE_RAYCAST_PICKING - Rendering for rectangle selection made only inside the rectangle, on systems supporting framebuffers

Various other refactorings & fixes

(cherry picked from commit prusa3d/PrusaSlicer@39b1222b22)
This commit is contained in:
enricoturri1966 2023-10-29 12:05:54 +08:00 committed by Noisyfox
parent f0199159e7
commit d2d77456ac
12 changed files with 289 additions and 105 deletions

View file

@ -26,7 +26,7 @@ private:
PickingModel vbo;
Vec3d normal;
float area;
PickingId picking_id{ -1 };
int picking_id{ -1 };
};
// This holds information to decide whether recalculation is necessary: