summaryrefslogtreecommitdiffstats
path: root/qt-gui.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-08-31 23:25:28 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 15:17:39 -0700
commitbd8126a709f81631f949c374f4236861b519ea48 (patch)
tree78a4e4912b845f7b0b47832b66c77b5064982f67 /qt-gui.h
parentd9306125d97a90b3e589fe263ae08e12b7327773 (diff)
downloadsubsurface-bd8126a709f81631f949c374f4236861b519ea48.tar.gz
Calculate ceiling only when it is needed
So far, add_segment() returned a tissue tolerance (i.e. ceiling) computed just in its return statement. This tissue_tolerance needed to be dragged around until it was needed or be dropped if not needed at all. As for VPM-B, this ceiling computation is a bit expensive, this patch calls the computation function tissue_tolerance_calc() when the value is actually needed and not before. This changes the signature of some functions. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.h')
0 files changed, 0 insertions, 0 deletions