mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
XCAF: bug fixes in notes tool
This commit is contained in:
parent
8feb46bb5d
commit
a5ad0b11f5
@ -210,7 +210,7 @@ XCAFDoc_NotesTool::AddNote(const TDF_Label& theNoteLabel,
|
|||||||
{
|
{
|
||||||
TDF_TagSource aTag;
|
TDF_TagSource aTag;
|
||||||
anAnnotatedItem = aTag.NewChild(GetAnnotatedItemsLabel());
|
anAnnotatedItem = aTag.NewChild(GetAnnotatedItemsLabel());
|
||||||
if (!anAnnotatedItem.IsNull())
|
if (anAnnotatedItem.IsNull())
|
||||||
return anItemRef;
|
return anItemRef;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -236,6 +236,7 @@ XCAFDoc_NotesTool::AddNote(const TDF_Label& theNoteLabel,
|
|||||||
return anItemRef;
|
return anItemRef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
aChild->SetFather(aFather);
|
||||||
aFather->SetChild(aChild);
|
aFather->SetChild(aChild);
|
||||||
|
|
||||||
return anItemRef;
|
return anItemRef;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user