mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-19 05:31:04 +00:00
Add static assert for bed number related values (#11035)
This commit is contained in:
1 parent
ac75c69ddf
commit
cbc41501b4
3 files changed
+7
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user