summaryrefslogtreecommitdiff
path: root/src/CGALEvaluator.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2013-05-27 01:24:53 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2013-05-27 01:24:53 (GMT)
commit08952ee2164efd8257adbd8684317ec1c945b7ac (patch)
tree5b50d417d950ad27e90f2765977e42caac1a881d /src/CGALEvaluator.cc
parent31c88a434b3201d88819b485f74da843c2728cb2 (diff)
windows - library path find, also windows build fixes
Diffstat (limited to 'src/CGALEvaluator.cc')
-rw-r--r--src/CGALEvaluator.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc
index 2ea7a8d..686bde1 100644
--- a/src/CGALEvaluator.cc
+++ b/src/CGALEvaluator.cc
@@ -279,7 +279,7 @@ Response CGALEvaluator::visit(State &state, const CsgNode &node)
if (state.isPostfix()) {
CGAL_Nef_polyhedron N;
if (!isCached(node)) {
- CGALEvaluator::CsgOp op;
+ CGALEvaluator::CsgOp op = CGE_UNION;
switch (node.type) {
case CSG_TYPE_UNION:
op = CGE_UNION;
@@ -291,7 +291,6 @@ Response CGALEvaluator::visit(State &state, const CsgNode &node)
op = CGE_INTERSECTION;
break;
default:
- op = -1;
assert(false);
}
N = applyToChildren(node, op);
contact: Jan Huwald // Impressum