]> Creatis software - clitk.git/commitdiff
Debug RTStruct conversion with empty struc master
authorThomas BAUDIER <thomas.baudier@creatis.insa-lyon.fr>
Thu, 5 Mar 2020 16:42:46 +0000 (17:42 +0100)
committerThomas BAUDIER <thomas.baudier@creatis.insa-lyon.fr>
Thu, 5 Mar 2020 16:42:46 +0000 (17:42 +0100)
common/clitkDicomRT_ROI.cxx

index d8af8c313e10cbd64a5ae92d649f4001ea9f6ce9..af8bee67a77a769e680c3ea892e91fd98e235a47 100644 (file)
@@ -204,6 +204,7 @@ bool clitk::DicomRT_ROI::Read(gdcm::Item * itemInfo, gdcm::Item * itemContour)
   gdcm::SmartPointer<gdcm::SequenceOfItems> & sqi2 = mContoursSequenceOfItems;
   if( !sqi2 || !sqi2->GetNumberOfItems() )
     {
+    return false;
     }
   unsigned int nitems = sqi2->GetNumberOfItems();