Mercurial > hg > orthanc-stone
changeset 1375:4431ffdcc2a4
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 20 Apr 2020 18:26:32 +0200 |
parents | 1e4878ed1d77 (current diff) 35469f75faa2 (diff) |
children | b7aebc10aca0 6ea4062c1a0d f4a06ad1580b |
files | Framework/Radiography/RadiographyMaskLayer.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameEditorApplication.h Mon Apr 20 18:20:47 2020 +0200 +++ b/Applications/Samples/SingleFrameEditorApplication.h Mon Apr 20 18:26:32 2020 +0200 @@ -348,7 +348,7 @@ { widget.GetScene().ExportDicom(context_->GetOrthancApiClient(), tags, std::string(), 0.1, 0.1, widget.IsInverted(), - widget.GetInterpolation(), EXPORT_USING_PAM); + false /* autoCrop */, widget.GetInterpolation(), EXPORT_USING_PAM); } break;
--- a/Framework/Radiography/RadiographyMaskLayer.cpp Mon Apr 20 18:20:47 2020 +0200 +++ b/Framework/Radiography/RadiographyMaskLayer.cpp Mon Apr 20 18:26:32 2020 +0200 @@ -85,7 +85,7 @@ { // get the extent of the in-mask area Extent2D sceneExtent; - for (std::vector<Orthanc::ImageProcessing::ImagePoint>::const_iterator corner = corners_.begin(); corner != corners_.end(); corner++) + for (std::vector<Orthanc::ImageProcessing::ImagePoint>::const_iterator corner = corners_.begin(); corner != corners_.end(); ++corner) { double x = static_cast<double>(corner->GetX()); double y = static_cast<double>(corner->GetY());