Fixed the use DCM_SeriesDescription

This commit is contained in:
Robert Osfield
2011-11-01 10:30:18 +00:00
parent 14a4aa9a19
commit 3cad9d0962

View File

@@ -543,7 +543,7 @@ class ReaderWriterDICOM : public osgDB::ReaderWriter
}
OFString seriesDescriptionStr;
if (dataset->findAndGetOFString(DCM_SeriesInstanceUID, seriesDescriptionStr).good())
if (dataset->findAndGetOFString(DCM_SeriesDescription, seriesDescriptionStr).good())
{
SeriesDescription = seriesDescriptionStr.c_str();
}