summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2020-07-22 19:12:49 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2020-07-22 19:12:49 (GMT)
commitd7abc84b1fd0ad42cef801f0d3c06e459184ede8 (patch)
tree5ab134422544a96be28cfc237c87fc571ec12429
parentdb4359912f691ff7c8ea88fcd4d9891d82530546 (diff)
downloadblt-d7abc84b1fd0ad42cef801f0d3c06e459184ede8.zip
blt-d7abc84b1fd0ad42cef801f0d3c06e459184ede8.tar.gz
blt-d7abc84b1fd0ad42cef801f0d3c06e459184ede8.tar.bz2
tkblt
-rw-r--r--tkblt/generic/tkbltGrElemBar.C5
1 files changed, 0 insertions, 5 deletions
diff --git a/tkblt/generic/tkbltGrElemBar.C b/tkblt/generic/tkbltGrElemBar.C
index 8e5ad46..c3ed9a7 100644
--- a/tkblt/generic/tkbltGrElemBar.C
+++ b/tkblt/generic/tkbltGrElemBar.C
@@ -436,10 +436,6 @@ void BarElement::map()
rp->x = (int)MIN(c1.x, c2.x);
- // rp->width = width + 1;
- // rp->width |= 0x1;
- // if (rp->width < 1)
- // rp->width = 1;
rp->width = width;
if (rp->width & 0x1)
rp->width++;
@@ -506,7 +502,6 @@ void BarElement::extents(Region2d *regPtr)
double barWidth = (ops->barWidth > 0.0) ? ops->barWidth : gops->barWidth;
double middle = barWidth/2.;
- // double middle = 0.5;
regPtr->left = ops->coords.x->min() - middle;
regPtr->right = ops->coords.x->max() + middle;