diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-02-01 10:01:05 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-02-01 10:01:05 (GMT) |
commit | 51ae2483733a75c8e7fbaa8abe7f7b0a999c1db0 (patch) | |
tree | 069262f86a94536c4e3983b78367e43fb00f1fa7 /src/dxfrotextrude.cc | |
parent | 07bc7dbecd8ed226ab950ee2b493ce3df2e5a8e0 (diff) |
Clifford Wolf:
Fixed building without CGAL
git-svn-id: http://svn.clifford.at/openscad/trunk@406 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src/dxfrotextrude.cc')
-rw-r--r-- | src/dxfrotextrude.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dxfrotextrude.cc b/src/dxfrotextrude.cc index ae43f53..21718ac 100644 --- a/src/dxfrotextrude.cc +++ b/src/dxfrotextrude.cc @@ -136,6 +136,7 @@ PolySet *DxfRotateExtrudeNode::render_polyset(render_mode_e rm) const if (filename.isEmpty()) { +#ifdef ENABLE_CGAL QTime t; QProgressDialog *pd; @@ -169,6 +170,10 @@ PolySet *DxfRotateExtrudeNode::render_polyset(render_mode_e rm) const PRINTF_NOCACHE("..rendering time: %d hours, %d minutes, %d seconds", s / (60*60), (s / 60) % 60, s % 60); delete pd; } +#else // ENABLE_CGAL + PRINT("WARNING: Found rotate_extrude() statement without dxf file but compiled without CGAL support!"); + dxf = new DxfData(); +#endif // ENABLE_CGAL } else { dxf = new DxfData(fn, fs, fa, filename, layername, origin_x, origin_y, scale); } |