Skip to content

Commit

Permalink
Fixed qview crashing when reading pixel value
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemapel committed Mar 22, 2022
1 parent 9dea9a3 commit 5b23dce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Keywords when running CAMSTATS. [#3605](https://github.com/USGS-Astrogeology/IS
- Fixed a bug where the measure residuals reported in the bundleout.txt file were incorrect. [#4655](https://github.com/USGS-Astrogeology/ISIS3/issues/4655)
- Fixed a bug where jigsaw would raise an error when solving for framing camera pointing in observation mode. [#4686](https://github.com/USGS-Astrogeology/ISIS3/issues/4686)
- Fixed slow runs of automos when the priority was BAND. [#4793](https://github.com/USGS-Astrogeology/ISIS3/pull/4793)
- Fixed qview crashing when attempting to load image DNs. [4818](https://github.com/USGS-Astrogeology/ISIS3/issues/4818)

## [6.0.0] - 2021-08-27

Expand Down
6 changes: 2 additions & 4 deletions isis/src/qisis/objs/TrackTool/TrackTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ namespace Isis {
}

QString TrackTool::updateColorLabel(QPoint p, ViewportBuffer *buf, QLabel *label) {
if(buf->working()) {
label->setText("BUSY");
}
else {
if(!buf->working()) {
const QRect rRect = buf->bufferXYRect();

if(p.x() >= rRect.left() && p.x() < rRect.right() &&
Expand All @@ -286,6 +283,7 @@ namespace Isis {
return PixelToString(buf->getLine(rBufY)[rBufX], 12);
}
}
return "BUSY";
}


Expand Down

0 comments on commit 5b23dce

Please sign in to comment.