From abe6982adc39936fdc0b7954791fd98c91354e3a Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Tue, 24 Mar 2009 09:43:25 +0100 Subject: [PATCH] BUG: Fixing a bug on quicklook generation --- Code/Visualization/otbImageLayerGenerator.txx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Code/Visualization/otbImageLayerGenerator.txx b/Code/Visualization/otbImageLayerGenerator.txx index b0461d50f0..870b1b3221 100644 --- a/Code/Visualization/otbImageLayerGenerator.txx +++ b/Code/Visualization/otbImageLayerGenerator.txx @@ -64,12 +64,8 @@ ImageLayerGenerator<TImageLayer> // Generate layer information this->GenerateLayerInformation(); - // If we need to generate the quicklook - if(m_GenerateQuicklook) - { - // Generate it - this->GenerateQuicklook(); - } + // Generate the quicklook + this->GenerateQuicklook(); } template < class TImageLayer > -- GitLab