mirror of https://github.com/vitalif/openscad
Call progress callback for each child node of boolean ops
git-svn-id: http://svn.clifford.at/openscad/trunk@479 b57f626f-c46c-0410-a088-ec61d464b74cstl_dim
parent
a97a32f3e5
commit
3dbb23ce68
|
@ -153,6 +153,7 @@ CGAL_Nef_polyhedron CgaladvNode::render_cgal_nef_polyhedron() const
|
|||
} else {
|
||||
b += v->render_cgal_nef_polyhedron();
|
||||
}
|
||||
v->progress_report();
|
||||
}
|
||||
if (a.dim == 3 && b.dim == 3) {
|
||||
N.dim = 3;
|
||||
|
|
|
@ -108,6 +108,7 @@ CGAL_Nef_polyhedron CsgNode::render_cgal_nef_polyhedron() const
|
|||
N.p3 *= v->render_cgal_nef_polyhedron().p3;
|
||||
}
|
||||
}
|
||||
v->progress_report();
|
||||
}
|
||||
|
||||
cgal_nef_cache.insert(cache_id, new cgal_nef_cache_entry(N), N.weight());
|
||||
|
|
|
@ -93,6 +93,7 @@ static CGAL_Nef_polyhedron render_cgal_nef_polyhedron_backend(const AbstractNode
|
|||
else
|
||||
N.p3 += v->render_cgal_nef_polyhedron().p3;
|
||||
}
|
||||
v->progress_report();
|
||||
}
|
||||
|
||||
that->cgal_nef_cache.insert(cache_id, new AbstractNode::cgal_nef_cache_entry(N), N.weight());
|
||||
|
|
|
@ -116,6 +116,7 @@ CGAL_Nef_polyhedron RenderNode::render_cgal_nef_polyhedron() const
|
|||
} else if (N.dim == 3) {
|
||||
N.p3 += v->render_cgal_nef_polyhedron().p3;
|
||||
}
|
||||
v->progress_report();
|
||||
}
|
||||
|
||||
cgal_nef_cache.insert(cache_id, new cgal_nef_cache_entry(N), N.weight());
|
||||
|
|
|
@ -266,6 +266,7 @@ CGAL_Nef_polyhedron TransformNode::render_cgal_nef_polyhedron() const
|
|||
} else if (N.dim == 3) {
|
||||
N.p3 += v->render_cgal_nef_polyhedron().p3;
|
||||
}
|
||||
v->progress_report();
|
||||
}
|
||||
|
||||
if (N.dim == 2)
|
||||
|
|
Loading…
Reference in New Issue