From bf2a25e0928383da7aa9cd0d2ad61d86761a7fc5 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 14 Oct 2019 18:42:29 +0300 Subject: [PATCH] groups of notes added to XCAFDoc_NotesTool --- src/XCAFDoc/XCAFDoc_NotesTool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XCAFDoc/XCAFDoc_NotesTool.cxx b/src/XCAFDoc/XCAFDoc_NotesTool.cxx index 90e5b20b74..1cc1ef2926 100644 --- a/src/XCAFDoc/XCAFDoc_NotesTool.cxx +++ b/src/XCAFDoc/XCAFDoc_NotesTool.cxx @@ -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); -- 2.39.5