Partial fix of SPE-1605 / GH #9892
Organic supports: bad function call without any obvious reason
This commit is contained in:
parent
2b85615b31
commit
23d74f453e
2 changed files with 4 additions and 4 deletions
|
@ -359,7 +359,7 @@ const Polygons& TreeModelVolumes::getCollision(const coord_t orig_radius, LayerI
|
||||||
BOOST_LOG_TRIVIAL(error_level_not_in_cache) << "Had to calculate collision at radius " << radius << " and layer " << layer_idx << ", but precalculate was called. Performance may suffer!";
|
BOOST_LOG_TRIVIAL(error_level_not_in_cache) << "Had to calculate collision at radius " << radius << " and layer " << layer_idx << ", but precalculate was called. Performance may suffer!";
|
||||||
tree_supports_show_error("Not precalculated Collision requested."sv, false);
|
tree_supports_show_error("Not precalculated Collision requested."sv, false);
|
||||||
}
|
}
|
||||||
const_cast<TreeModelVolumes*>(this)->calculateCollision(radius, layer_idx, {});
|
const_cast<TreeModelVolumes*>(this)->calculateCollision(radius, layer_idx, []{});
|
||||||
return getCollision(orig_radius, layer_idx, min_xy_dist);
|
return getCollision(orig_radius, layer_idx, min_xy_dist);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -512,7 +512,7 @@ private:
|
||||||
*/
|
*/
|
||||||
void calculateCollisionHolefree(RadiusLayerPair key)
|
void calculateCollisionHolefree(RadiusLayerPair key)
|
||||||
{
|
{
|
||||||
calculateCollisionHolefree(std::vector<RadiusLayerPair>{ RadiusLayerPair(key) }, {});
|
calculateCollisionHolefree(std::vector<RadiusLayerPair>{ RadiusLayerPair(key) }, []{});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -533,7 +533,7 @@ private:
|
||||||
*/
|
*/
|
||||||
void calculateAvoidance(RadiusLayerPair key, bool to_build_plate, bool to_model)
|
void calculateAvoidance(RadiusLayerPair key, bool to_build_plate, bool to_model)
|
||||||
{
|
{
|
||||||
calculateAvoidance(std::vector<RadiusLayerPair>{ RadiusLayerPair(key) }, to_build_plate, to_model, {});
|
calculateAvoidance(std::vector<RadiusLayerPair>{ RadiusLayerPair(key) }, to_build_plate, to_model, []{});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -567,7 +567,7 @@ private:
|
||||||
*/
|
*/
|
||||||
void calculateWallRestrictions(RadiusLayerPair key)
|
void calculateWallRestrictions(RadiusLayerPair key)
|
||||||
{
|
{
|
||||||
calculateWallRestrictions(std::vector<RadiusLayerPair>{ RadiusLayerPair(key) }, {});
|
calculateWallRestrictions(std::vector<RadiusLayerPair>{ RadiusLayerPair(key) }, []{});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Reference in a new issue