Mercurial > hg > orthanc-stone
diff Framework/Volumes/VolumeSceneLayerSource.cpp @ 921:81d30cd93b65 toa2019072201
Ability to ask the loader for the geometry in PULL mode (when subscribing to the messages is not possible) + small changes (removed const/ref qualifiers for boost::shared_ptr param, added traces, doc change)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 22 Jul 2019 11:21:09 +0200 |
parents | df442f1ba0c6 |
children | 094d10ed7ec2 |
line wrap: on
line diff
--- a/Framework/Volumes/VolumeSceneLayerSource.cpp Fri Jul 19 15:15:13 2019 +0200 +++ b/Framework/Volumes/VolumeSceneLayerSource.cpp Mon Jul 22 11:21:09 2019 +0200 @@ -119,6 +119,7 @@ } else { + LOG(TRACE) << "VolumeSceneLayerSource::Update -- Content has changed: An update is needed"; // Content has changed: An update is needed lastPlane_.reset(new CoordinateSystem3D(plane)); lastRevision_ = slice->GetRevision(); @@ -126,10 +127,12 @@ std::auto_ptr<ISceneLayer> layer(slice->CreateSceneLayer(configurator_.get(), plane)); if (layer.get() == NULL) { + LOG(TRACE) << "VolumeSceneLayerSource::Update -- (layer.get() == NULL)"; ClearLayer(); } else { + LOG(TRACE) << "VolumeSceneLayerSource::Update -- (layer.get() != NULL)"; if (configurator_.get() != NULL) { lastConfiguratorRevision_ = configurator_->GetRevision();