From c763f2a1f4f29bcb3521aa171145919f12f72623 Mon Sep 17 00:00:00 2001 From: snn Date: Tue, 18 Apr 2017 13:33:41 +0300 Subject: [PATCH] Notes attached to an assembly item sub-shape overwrite other assembly item notes --- src/XCAFDoc/XCAFDoc_NotesTool.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/XCAFDoc/XCAFDoc_NotesTool.hxx b/src/XCAFDoc/XCAFDoc_NotesTool.hxx index 7d02aaee04..99dcc6f8b3 100644 --- a/src/XCAFDoc/XCAFDoc_NotesTool.hxx +++ b/src/XCAFDoc/XCAFDoc_NotesTool.hxx @@ -131,6 +131,10 @@ public: //! \param [in] theItemId - assembly item ID. //! \return annotated item label if it is found, otherwise - null label. Standard_EXPORT TDF_Label FindAnnotatedItem(const XCAFDoc_AssemblyItemId& theItemId) const; + Standard_EXPORT TDF_Label FindAnnotatedItemGUID(const XCAFDoc_AssemblyItemId& theItemId, + const Standard_GUID& theGUID) const; + Standard_EXPORT TDF_Label FindAnnotatedItemSubshape(const XCAFDoc_AssemblyItemId& theItemId, + Standard_Integer theSubshapeIndex) const; //! Finds a label of the given labeled item in the annotated items hive. //! \param [in] theItemLabel - item label.