diff Framework/Loaders/DicomStructureSetLoader.cpp @ 1345:0d6a01ffa1dd broker

Clean version of the hack commited in the previous commit : the DicomStructureSetLoader now properly increments its revision during progressive loading. The "force update" method in the VolumeSceneLayerSource isn't needed anymore.
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 06 Apr 2020 09:17:40 +0200
parents 13573ff63eb6
children f4a06ad1580b
line wrap: on
line diff
--- a/Framework/Loaders/DicomStructureSetLoader.cpp	Mon Apr 06 08:44:10 2020 +0200
+++ b/Framework/Loaders/DicomStructureSetLoader.cpp	Mon Apr 06 09:17:40 2020 +0200
@@ -76,6 +76,7 @@
       loader.countProcessedInstances_ ++;
       assert(loader.countProcessedInstances_ <= loader.countReferencedInstances_);
 
+      loader.revision_++;
       loader.SetStructuresUpdated();
 
       if (loader.countProcessedInstances_ == loader.countReferencedInstances_)