summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/csgtestcore.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc
index 3b4a935..36e94e7 100644
--- a/tests/csgtestcore.cc
+++ b/tests/csgtestcore.cc
@@ -361,7 +361,7 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
csgInfo.glview->paintGL();
- csgInfo.glview->save(outfilename);
+ if (outfilename) csgInfo.glview->save(outfilename);
delete root_node;
delete root_module;
contact: Jan Huwald // Impressum