Skip to content
Snippets Groups Projects
Commit 33a48cc9 authored by Mickael Savinaud's avatar Mickael Savinaud
Browse files

BUG correct the last commit which is misplaced

parent a9b28c3e
No related branches found
No related tags found
No related merge requests found
...@@ -232,12 +232,10 @@ namespace ossimplugins ...@@ -232,12 +232,10 @@ namespace ossimplugins
DIMxmlFileTmp = DIMxmlFileTmp.file().replaceStrThatMatch("^IMG_", "DIM_"); DIMxmlFileTmp = DIMxmlFileTmp.file().replaceStrThatMatch("^IMG_", "DIM_");
DIMxmlFileTmp = DIMxmlFileTmp.replaceStrThatMatch("_R[0-9]+C[0-9]+\\.(JP2|TIF)$", ".XML"); DIMxmlFileTmp = DIMxmlFileTmp.replaceStrThatMatch("_R[0-9]+C[0-9]+\\.(JP2|TIF)$", ".XML");
// Check if it is an XML extension // Check if it is an XML extension
if( DIMxmlFileTmp.ext() != "xml") if( DIMxmlFileTmp.ext() != "XML")
return false; return false;
RPCxmlFileTmp = DIMxmlFileTmp.file().replaceStrThatMatch("^DIM_", "RPC_"); RPCxmlFileTmp = DIMxmlFileTmp.file().replaceStrThatMatch("^DIM_", "RPC_");
if( DIMxmlFileTmp.ext() != "XML")
return false;
DIMxmlFile = DIMxmlFile.dirCat(DIMxmlFileTmp); DIMxmlFile = DIMxmlFile.dirCat(DIMxmlFileTmp);
RPCxmlFile = RPCxmlFile.dirCat(RPCxmlFileTmp); RPCxmlFile = RPCxmlFile.dirCat(RPCxmlFileTmp);
......
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