diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 01:22:06 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 01:22:06 (GMT) |
commit | de53382a3d1a7f47684cdda7c27d976c2e234ce9 (patch) | |
tree | bdc7ae6f0e6974bee207ffc5dd55697ab15dbf13 /tests/csgtestcore.cc | |
parent | 7332ec9fe260140ff74506fa2ba95e0a2bbf352e (diff) |
small cleanup
Diffstat (limited to 'tests/csgtestcore.cc')
-rw-r--r-- | tests/csgtestcore.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc index e87558d..6c3a7d0 100644 --- a/tests/csgtestcore.cc +++ b/tests/csgtestcore.cc @@ -219,12 +219,12 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type) QDir::setCurrent(original_path.absolutePath()); - try { - csgInfo.glview = new OffscreenView(512,512); - } catch (int error) { - fprintf(stderr,"Can't create OpenGL OffscreenView. Code: %i. Exiting.\n", error); - exit(1); - } + try { + csgInfo.glview = new OffscreenView(512,512); + } catch (int error) { + fprintf(stderr,"Can't create OpenGL OffscreenView. Code: %i. Exiting.\n", error); + exit(1); + } BoundingBox bbox = csgInfo.root_chain->getBoundingBox(); Vector3d center = (bbox.min() + bbox.max()) / 2; |