1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

groups of notes added to XCAFDoc_NotesTool

This commit is contained in:
nds
2019-10-14 18:42:29 +03:00
parent 92fe90c559
commit bf2a25e092

View File

@@ -606,7 +606,7 @@ XCAFDoc_NotesTool::RemoveFromGroup(const TDF_Label& theGroupLabel,
Standard_Integer nbChildren = aFather->NbChildren();
for (Standard_Integer iChild = 1; iChild <= nbChildren; ++iChild)
{
Handle(XCAFDoc_GraphNode) aChild = aFather->GetFather(iChild);
Handle(XCAFDoc_GraphNode) aChild = aFather->GetChild(iChild);
if (!aChild.IsNull() && theNoteLabel.IsEqual(aChild->Label()))
{
aFather->UnSetChild(aChild);