summaryrefslogtreecommitdiff
path: root/transform.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-24 08:22:05 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-24 08:22:05 (GMT)
commitfcde390416e9c3e44e1d60bf8aeeb4add62f828b (patch)
tree27c7fccc2d37fb8925b99d11ead350f63589b2d8 /transform.cc
parentf158370f5ef5745c273f2f47c57b77d1fcc2f0db (diff)
Clifford Wolf:
Improved background and highlights rendering git-svn-id: http://svn.clifford.at/openscad/trunk@71 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'transform.cc')
-rw-r--r--transform.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/transform.cc b/transform.cc
index ac6017d..bb25d41 100644
--- a/transform.cc
+++ b/transform.cc
@@ -153,8 +153,12 @@ CGAL_Nef_polyhedron TransformNode::render_cgal_nef_polyhedron() const
}
CGAL_Nef_polyhedron N;
- foreach (AbstractNode *v, children)
+ foreach (AbstractNode *v, children) {
+ if (v->modinst->tag_background)
+ continue;
N += v->render_cgal_nef_polyhedron();
+ }
+
CGAL_Aff_transformation t(
m[0], m[4], m[ 8], m[12],
m[1], m[5], m[ 9], m[13],
contact: Jan Huwald // Impressum