summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-03-08 22:04:44 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-03-08 22:04:44 (GMT)
commita890a09a65bb9897926390097ba8a115c60ee4d3 (patch)
tree1f8ec867f9ddf1a68e4fdb78ac5d5ecafc16ccc3
parent695e174c3a2e9fb38fdee87789ab1226372b55cd (diff)
downloadblt-a890a09a65bb9897926390097ba8a115c60ee4d3.zip
blt-a890a09a65bb9897926390097ba8a115c60ee4d3.tar.gz
blt-a890a09a65bb9897926390097ba8a115c60ee4d3.tar.bz2
add contour scope
-rw-r--r--tksao/frame/frame3dbase.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/tksao/frame/frame3dbase.C b/tksao/frame/frame3dbase.C
index e1a599e..f8b0ac2 100644
--- a/tksao/frame/frame3dbase.C
+++ b/tksao/frame/frame3dbase.C
@@ -569,8 +569,10 @@ void Frame3dBase::setSlice(int id, int ss)
}
else {
// load the next cube
+ currentContext->clearHist();
currentContext->updateClip();
- currentContext->updateContoursScale();
+
+ currentContext->updateContours();
updateColorScale();
update(MATRIX);
}