2011-12-12 02:45:14 +04:00
|
|
|
#include "rendersettings.h"
|
2014-08-15 01:16:24 +04:00
|
|
|
#include "printutils.h"
|
2011-12-12 02:45:14 +04:00
|
|
|
|
|
|
|
RenderSettings *RenderSettings::inst(bool erase)
|
|
|
|
{
|
|
|
|
static RenderSettings *instance = new RenderSettings;
|
|
|
|
if (erase) {
|
|
|
|
delete instance;
|
|
|
|
instance = NULL;
|
|
|
|
}
|
|
|
|
return instance;
|
|
|
|
}
|
|
|
|
|
|
|
|
RenderSettings::RenderSettings()
|
|
|
|
{
|
2014-02-04 07:53:42 +04:00
|
|
|
openCSGTermLimit = 100000;
|
2013-03-04 06:08:04 +04:00
|
|
|
far_gl_clip_limit = 100000.0;
|
2013-03-03 19:22:36 +04:00
|
|
|
img_width = 512;
|
|
|
|
img_height = 512;
|
2014-08-15 01:16:24 +04:00
|
|
|
colorscheme = "Cornfield";
|
2011-12-12 02:45:14 +04:00
|
|
|
}
|