Skip to content

Commit

Permalink
Fix dicom folder opening
Browse files Browse the repository at this point in the history
  • Loading branch information
Sir0ga90 committed Nov 1, 2024
1 parent c885c8e commit c15077d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/dicomRoutines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ vtkSmartPointer<vtkImageData> VTKDicomRoutines::loadDicomImage( const std::strin
rawVolumeData->DeepCopy(reader->GetOutput());

// check if load was successful
if( checkDataLoaded(rawVolumeData) )
if( !checkDataLoaded(rawVolumeData) )
{
cerr << "No DICOM data in directory" << endl;
return NULL;
Expand Down

0 comments on commit c15077d

Please sign in to comment.