diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-01 22:33:48 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-01 22:33:48 (GMT) |
commit | 5618f5c47f83a67beee0b6f5ae4bd52e40f100ff (patch) | |
tree | c9dbca1fb2182f6876e2e1eba775b672d8e40594 /src/CGALEvaluator.cc | |
parent | 4f7bf1819fca887f2712807077f9e497c262e9ed (diff) | |
parent | 24fbfdf9551915918f43650057fea74b1ad76286 (diff) |
Merge branch 'master' of github.com:openscad/openscad into issue158
Diffstat (limited to 'src/CGALEvaluator.cc')
-rw-r--r-- | src/CGALEvaluator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc index a570df4..1b307be 100644 --- a/src/CGALEvaluator.cc +++ b/src/CGALEvaluator.cc @@ -253,7 +253,7 @@ Response CGALEvaluator::visit(State &state, const TransformNode &node) testmat << node.matrix(0,0), node.matrix(0,1), node.matrix(1,0), node.matrix(1,1); if (testmat.determinant() == 0) { PRINT("Warning: Scaling a 2D object with 0 - removing object"); - N.p2.reset(); + N.reset(); } else { CGAL_Aff_transformation2 t( @@ -279,7 +279,7 @@ Response CGALEvaluator::visit(State &state, const TransformNode &node) else if (N.dim == 3) { if (node.matrix.matrix().determinant() == 0) { PRINT("Warning: Scaling a 3D object with 0 - removing object"); - N.p3.reset(); + N.reset(); } else { CGAL_Aff_transformation t( |