comparison Framework/Scene2D/FloatTextureSceneLayer.cpp @ 1252:6525c0f13a3a broker

Fixed uninited var applyLog_
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 08 Jan 2020 10:34:53 +0100
parents 177e7d431cd1
children 0ca50d275b9a
comparison
equal deleted inserted replaced
1250:a8248b08115c 1252:6525c0f13a3a
26 #include <Core/OrthancException.h> 26 #include <Core/OrthancException.h>
27 27
28 namespace OrthancStone 28 namespace OrthancStone
29 { 29 {
30 FloatTextureSceneLayer::FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture) : 30 FloatTextureSceneLayer::FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture) :
31 inverted_(false) 31 inverted_(false),
32 applyLog_(false)
32 { 33 {
33 { 34 {
34 std::auto_ptr<Orthanc::ImageAccessor> t( 35 std::auto_ptr<Orthanc::ImageAccessor> t(
35 new Orthanc::Image(Orthanc::PixelFormat_Float32, 36 new Orthanc::Image(Orthanc::PixelFormat_Float32,
36 texture.GetWidth(), 37 texture.GetWidth(),