mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Removed duplicate calls setupBeforeSave and initAfterRead
p4#: 20998
This commit is contained in:
parent
06a2f7e17f
commit
ddade8a6cf
@ -92,7 +92,6 @@ void PdmObjectGroup::initAfterReadTraversal(PdmObject* object)
|
||||
for (cIdx = 0; cIdx < children.size(); ++cIdx)
|
||||
{
|
||||
PdmObjectGroup::initAfterReadTraversal(children[cIdx]);
|
||||
if (children[cIdx]) children[cIdx]->initAfterRead();
|
||||
}
|
||||
|
||||
object->initAfterRead();
|
||||
@ -203,7 +202,6 @@ void PdmDocument::setupBeforeSaveTraversal(PdmObject * object)
|
||||
for (cIdx = 0; cIdx < children.size(); ++cIdx)
|
||||
{
|
||||
PdmDocument::setupBeforeSaveTraversal(children[cIdx]);
|
||||
if (children[cIdx]) children[cIdx]->setupBeforeSave();
|
||||
}
|
||||
|
||||
object->setupBeforeSave();
|
||||
|
Loading…
Reference in New Issue
Block a user