ENH: objectRegistry - allow recurse into time db
This commit is contained in:
parent
bba45b3022
commit
59c74e53ff
@ -519,7 +519,7 @@ const Foam::regIOobject* Foam::objectRegistry::cfindIOobject
|
||||
{
|
||||
return iter.val();
|
||||
}
|
||||
else if (recursive && this->parentNotTime())
|
||||
else if (recursive && !this->isTimeDb())
|
||||
{
|
||||
return parent_.cfindIOobject(name, recursive);
|
||||
}
|
||||
|
@ -620,7 +620,7 @@ const Type& Foam::objectRegistry::lookupObject
|
||||
<< ", found a " << (*iter)->type() << nl
|
||||
<< exit(FatalError);
|
||||
}
|
||||
else if (recursive && this->parentNotTime())
|
||||
else if (recursive && !this->isTimeDb())
|
||||
{
|
||||
return parent_.lookupObject<Type>(name, recursive);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user