REGRESSION: registry filtering not using regIOobject name (fixes #3023)
- was using the derived object name (could be something like "region0") instead of the actual registered name (ie, the regIOobject name)
This commit is contained in:
parent
ad2389a37d
commit
df8efcaf62
@ -209,7 +209,7 @@ Foam::objectRegistry::objectsTypeImpl
|
||||
(
|
||||
ptr
|
||||
&& (!strict || Foam::isType<BaseType>(*obj))
|
||||
&& matchName(ptr->name())
|
||||
&& matchName(obj->name())
|
||||
)
|
||||
{
|
||||
result.set(count, const_cast<BaseType*>(ptr));
|
||||
|
Loading…
Reference in New Issue
Block a user