1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0030341: XCAFDoc_GraphNode doesn't copy children upon pasting

This commit is contained in:
snn
2018-11-06 11:32:32 +03:00
parent 47ba172e98
commit 498fc86d8e

View File

@@ -356,7 +356,7 @@ void XCAFDoc_GraphNode::Paste(const Handle(TDF_Attribute)& into,
if (!RT->HasRelocation(myChildren(i), func) && RT->AfterRelocate()) {
func.Nullify();
}
intof->SetFather(func);
intof->SetChild(func);
}
intof->SetGraphID(myGraphID);
}