Mercurial > hg > orthanc-stone
changeset 705:f45fca2ebd10
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 20 May 2019 09:38:25 +0200 |
parents | f8242d4b1f8d |
children | ef07304d4423 |
files | Framework/Scene2DViewport/OneGesturePointerTracker.cpp Framework/Toolbox/ShearWarpProjectiveTransform.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/OneGesturePointerTracker.cpp Sun May 19 16:35:03 2019 +0200 +++ b/Framework/Scene2DViewport/OneGesturePointerTracker.cpp Mon May 20 09:38:25 2019 +0200 @@ -18,9 +18,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. **/ -#pragma once #include "OneGesturePointerTracker.h" + #include <Core/OrthancException.h> using namespace Orthanc;
--- a/Framework/Toolbox/ShearWarpProjectiveTransform.cpp Sun May 19 16:35:03 2019 +0200 +++ b/Framework/Toolbox/ShearWarpProjectiveTransform.cpp Mon May 20 09:38:25 2019 +0200 @@ -543,7 +543,7 @@ } else { - *p = static_cast<TargetTraits::PixelType> + *p = static_cast<typename TargetTraits::PixelType> (*qacc / static_cast<float>(*qcount)); if (*p > maxValue)