From 007c40848db9efd704694f2e7596cabed80da50f Mon Sep 17 00:00:00 2001 From: Don Bright Date: Mon, 12 Sep 2011 17:39:29 -0500 Subject: merge diff --git a/src/openscad.cc b/src/openscad.cc index 292a263..5ed56c4 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -333,13 +333,13 @@ int main(int argc, char **argv) fclose(fp); } - if (root_N->dim == 3 && !root_N->p3.is_simple()) { + if (root_N.dim == 3 && !root_N.p3.is_simple()) { fprintf(stderr, "Object isn't a valid 2-manifold! Modify your design.\n"); exit(1); } if (stl_output_file) - export_stl(root_N, stl_output_file, NULL); + export_stl(&root_N, stl_output_file, NULL); if (off_output_file) { QFile file(stl_output_file); -- cgit v0.10.1