From 4a8dfb8d993077d974f1e3354635f0789714b5c8 Mon Sep 17 00:00:00 2001 From: Jared Males Date: Tue, 19 Mar 2024 05:26:36 +0000 Subject: [PATCH] fixed autoscaling always on --- src/rtimvBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtimvBase.cpp b/src/rtimvBase.cpp index ecd58cf..96060cc 100644 --- a/src/rtimvBase.cpp +++ b/src/rtimvBase.cpp @@ -781,7 +781,7 @@ void rtimvBase::changeImdata(bool newdata) } } - if(resized || newdata || m_autoScale) + if(resized || (newdata && m_autoScale)) { imdat_min = std::numeric_limits::max(); imdat_max = -std::numeric_limits::max();