mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 04:37:52 -06:00
Id-s put in a base class for support tree primitives
This commit is contained in:
parent
301a168b89
commit
f19b3a2344
4 changed files with 20 additions and 24 deletions
|
@ -175,8 +175,8 @@ void check_support_tree_integrity(const sla::SupportTreeBuilder &stree,
|
|||
double H2 = cfg.max_dual_pillar_height_mm;
|
||||
|
||||
for (const sla::Head &head : stree.heads()) {
|
||||
REQUIRE((!head.is_valid() || head.pillar_id != sla::ID_UNSET ||
|
||||
head.bridge_id != sla::ID_UNSET));
|
||||
REQUIRE((!head.is_valid() || head.pillar_id != sla::SupportTreeNode::ID_UNSET ||
|
||||
head.bridge_id != sla::SupportTreeNode::ID_UNSET));
|
||||
}
|
||||
|
||||
for (const sla::Pillar &pillar : stree.pillars()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue