changeset 512:8e1efa410312

fix repaint
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Aug 2026 19:08:23 +0200
parents 469cb17be6aa
children c30f18b87876
files Applications/Dicomizer.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/Dicomizer.cpp	Wed Aug 19 18:21:21 2026 +0200
+++ b/Applications/Dicomizer.cpp	Wed Aug 19 19:08:23 2026 +0200
@@ -244,7 +244,8 @@
   Orthanc::PhotometricInterpretation targetPhotometric;
   bool transcoding;
 
-  if (parameters.IsForceReencode() ||
+  if (parameters.IsRepaintBackground() ||
+      parameters.IsForceReencode() ||
       parameters.IsReconstructPyramid() ||
       sourceCompression != parameters.GetTargetCompression())
   {