Commit 552a7c2d authored by Eric Stanton's avatar Eric Stanton
Browse files

BUG: Fix for failing UndoRedo3 test. When the user undoes the creation of an...

BUG: Fix for failing UndoRedo3 test. When the user undoes the creation of an exodus reader, the array status methods are getting passed empty strings for the array names which in turn is causing warning messages and the tests to fail.
parent 6ffce570
......@@ -279,7 +279,7 @@ public:
{ return this->GetObjectStatus( objectType, this->GetObjectIndex( objectType, objectName ) ); }
void SetObjectStatus( int objectType, int objectIndex, int status );
void SetObjectStatus( int objectType, const char* objectName, int status )
{ this->SetObjectStatus( objectType, this->GetObjectIndex( objectType, objectName ), status ); }
{ if(objectName && strlen(objectName)>0) { this->SetObjectStatus( objectType, this->GetObjectIndex( objectType, objectName ), status ); } }
// Descriptions:
// By default arrays are not loaded. These methods allow the user to select
......@@ -295,7 +295,7 @@ public:
{ return this->GetObjectArrayStatus( objectType, this->GetObjectArrayIndex( objectType, arrayName ) ); }
void SetObjectArrayStatus( int objectType, int arrayIndex, int status );
void SetObjectArrayStatus( int objectType, const char* arrayName, int status )
{ this->SetObjectArrayStatus( objectType, this->GetObjectArrayIndex( objectType, arrayName ), status ); }
{ if(arrayName && strlen(arrayName)>0) { this->SetObjectArrayStatus( objectType, this->GetObjectArrayIndex( objectType, arrayName ), status ); } }
// Descriptions:
// By default attributes are not loaded. These methods allow the user to select
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment