Add static assert for bed number related values (#11035)

This commit is contained in:
Noisyfox
2025-10-14 08:56:18 +08:00
committed by GitHub
parent ac75c69ddf
commit cbc41501b4
3 changed files with 7 additions and 4 deletions

View File

@@ -9,6 +9,9 @@
namespace Slic3r {
namespace GUI {
// EIdBase::Volume must be greater than PartPlateList::MAX_PLATES_COUNT * PartPlate::GRABBER_COUNT
static_assert((int) SceneRaycaster::EIdBase::Volume > PartPlateList::MAX_PLATES_COUNT * PartPlate::GRABBER_COUNT, "EIdBase::Volume too small");
SceneRaycaster::SceneRaycaster() {
#if ENABLE_RAYCAST_PICKING_DEBUG
// hit point