comparison Framework/Volumes/VolumeSceneLayerSource.cpp @ 934:094d10ed7ec2

VolumeSceneLayerSource dtor now clears the layer
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 29 Jul 2019 13:46:29 +0200
parents 81d30cd93b65
children a7351ad54960
comparison
equal deleted inserted replaced
933:f75f6cb69c1b 934:094d10ed7ec2
53 { 53 {
54 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer); 54 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer);
55 } 55 }
56 } 56 }
57 57
58 VolumeSceneLayerSource::~VolumeSceneLayerSource()
59 {
60 ClearLayer();
61 }
58 62
59 void VolumeSceneLayerSource::RemoveConfigurator() 63 void VolumeSceneLayerSource::RemoveConfigurator()
60 { 64 {
61 configurator_.reset(); 65 configurator_.reset();
62 lastPlane_.reset(); 66 lastPlane_.reset();