Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyScene.cpp @ 1131:4663f158c748
RadiographyWidget is now notified when a layer is removed from the scene
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 06 Nov 2019 10:46:46 +0100 |
parents | d33ae2b0db9d |
children | 1a73f852810a f417a0ae282b |
comparison
equal
deleted
inserted
replaced
1119:6bc766eab0de | 1131:4663f158c748 |
---|---|
222 | 222 |
223 layers_.erase(found); | 223 layers_.erase(found); |
224 countLayers_--; | 224 countLayers_--; |
225 | 225 |
226 LOG(INFO) << "Removing layer, there are now : " << countLayers_ << " layers"; | 226 LOG(INFO) << "Removing layer, there are now : " << countLayers_ << " layers"; |
227 | |
228 BroadcastMessage(RadiographyScene::LayerRemovedMessage(*this, layerIndex)); | |
227 } | 229 } |
228 } | 230 } |
229 | 231 |
230 const RadiographyLayer& RadiographyScene::GetLayer(size_t layerIndex) const | 232 const RadiographyLayer& RadiographyScene::GetLayer(size_t layerIndex) const |
231 { | 233 { |