mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
cad/openscad: unbreak with boost 1.69
src/CSGTermEvaluator.cc:112:9: error: no viable conversion from 'boost::tribool' to 'bool' bool convex = ps->convexValue(); ^ ~~~~~~~~~~~~~~~~~ PR: 232525
This commit is contained in:
parent
2fd0a6aa5e
commit
fa6b684e82
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482792
13
cad/openscad/files/patch-boost-1.69
Normal file
13
cad/openscad/files/patch-boost-1.69
Normal file
@ -0,0 +1,13 @@
|
||||
https://github.com/openscad/openscad/commit/ce5646179848
|
||||
|
||||
--- src/CSGTermEvaluator.cc.orig 2015-03-09 05:03:30 UTC
|
||||
+++ src/CSGTermEvaluator.cc
|
||||
@@ -109,7 +109,7 @@ static shared_ptr<CSGTerm> evaluate_csg_term_from_geom
|
||||
shared_ptr<const PolySet> ps = dynamic_pointer_cast<const PolySet>(geom);
|
||||
// Since is_convex() doesn't handle non-planar faces, we need to tessellate
|
||||
// also in the indeterminate state so we cannot just use a boolean comparison. See #1061
|
||||
- bool convex = ps->convexValue();
|
||||
+ bool convex(ps->convexValue());
|
||||
if (ps && !convex) {
|
||||
assert(ps->getDimension() == 3);
|
||||
PolySet *ps_tri = new PolySet(3, ps->convexValue());
|
Loading…
Reference in New Issue
Block a user