File tree Expand file tree Collapse file tree 2 files changed +1
-29
lines changed Expand file tree Collapse file tree 2 files changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -6402,29 +6402,6 @@ bool vtkExodusIIReader::FindXMLFile()
6402
6402
{
6403
6403
if ( this ->FileName )
6404
6404
{
6405
- vtkStdString baseName ( vtksys::SystemTools::GetFilenameWithoutExtension ( this ->FileName ) );
6406
- vtkStdString xmlExt ( baseName + " .xml" );
6407
- if ( vtksys::SystemTools::FileExists ( xmlExt ) )
6408
- {
6409
- this ->SetXMLFileName ( xmlExt.c_str () );
6410
- return true ;
6411
- }
6412
-
6413
- vtkStdString dartExt ( baseName + " .dart" );
6414
- if ( vtksys::SystemTools::FileExists ( dartExt ) )
6415
- {
6416
- this ->SetXMLFileName ( dartExt.c_str () );
6417
- return true ;
6418
- }
6419
-
6420
- vtkStdString baseDir ( vtksys::SystemTools::GetFilenamePath ( this ->FileName ) );
6421
- vtkStdString artifact ( baseDir + " /artifact.dta" );
6422
- if ( vtksys::SystemTools::FileExists ( artifact ) )
6423
- {
6424
- this ->SetXMLFileName ( artifact.c_str () );
6425
- return true ;
6426
- }
6427
-
6428
6405
// Catch the case where filename was non-nullptr but didn't exist.
6429
6406
this ->SetXMLFileName ( nullptr );
6430
6407
}
Original file line number Diff line number Diff line change @@ -803,12 +803,7 @@ class VTKIOEXODUS_EXPORT vtkExodusIIReader : public vtkMultiBlockDataSetAlgorith
803
803
vtkGetObjectMacro (Metadata,vtkExodusIIReaderPrivate);
804
804
805
805
/* *
806
- * Returns true if XMLFileName has already been set. Otherwise, look for the XML
807
- * metadata file in the same directory as the data file(s) using the following
808
- * possible file names:
809
- * DATA_FILE_NAME.xml
810
- * DATA_FILE_NAME.dart
811
- * artifact.dta
806
+ * Returns true if the file given by XMLFileName exists.
812
807
* Return true if found, false otherwise
813
808
*/
814
809
bool FindXMLFile ();
You can’t perform that action at this time.
0 commit comments