Skip to content
Snippets Groups Projects
Commit e1eaf06d authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

BUG: image opening crash with QuickBird images,which do not contain bandlist...

BUG: image opening crash with QuickBird images,which do not contain bandlist information. reported in mantis #ref:422.
parent 98b4d228
No related branches found
No related tags found
No related merge requests found
......@@ -199,11 +199,8 @@ bool ossimQuickbirdMetaData::saveState(ossimKeywordlist& kwl,
}
else
{
kwl.add(prefix,
"absCalFactor",
theAbsCalFactors[0],
true);
}
if (theAbsCalFactors.size() > 0) kwl.add(prefix, "absCalFactor", theAbsCalFactors[0], true);
}
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment