summaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-11-12 23:09:57 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-13 11:55:19 +0900
commit4bb8368a20ad03cb5c1c9134df0a55a653c10cf0 (patch)
treefe870f50d62077dbf762cc93a4c2790e86b94e4e /subsurfacestartup.c
parentdbd4a471ecfa2901b1384f361549c6bbadc84c55 (diff)
downloadsubsurface-4bb8368a20ad03cb5c1c9134df0a55a653c10cf0.tar.gz
Introduce an on/off switch for calculating ndl/tts
Let the user choose if the calculation of ndl and tts is worth the time it takes. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacestartup.c')
-rw-r--r--subsurfacestartup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurfacestartup.c b/subsurfacestartup.c
index bc5cd42f4..8530b2f3a 100644
--- a/subsurfacestartup.c
+++ b/subsurfacestartup.c
@@ -22,6 +22,7 @@ struct preferences default_prefs = {
.profile_red_ceiling = FALSE,
.profile_calc_ceiling = FALSE,
.calc_ceiling_3m_incr = FALSE,
+ .calc_ndl_tts = FALSE,
.gflow = 30,
.gfhigh = 75,
.font_size = 14.0,