Test commit

This commit is contained in:
dish 2024-09-27 10:03:31 +00:00
parent d72c6cd028
commit 4c727240f8

View File

@ -74,7 +74,7 @@ const Standard_GUID& GEOM_BaseObject::GetSubShapeID()
//============================================================================= //=============================================================================
/*! /*!
* GetObject * GetObject TST
*/ */
//============================================================================= //=============================================================================
@ -101,7 +101,7 @@ Handle(GEOM_BaseObject) GEOM_BaseObject::GetReferencedObject(const TDF_Label& th
if (!theLabel.FindAttribute(TDF_Reference::GetID(), aRef)) { if (!theLabel.FindAttribute(TDF_Reference::GetID(), aRef)) {
return NULL; return NULL;
} }
if(aRef.IsNull() || aRef->Get().IsNull()) { if(aRef.IsNull() || aRef->Get().IsNull()) {
return NULL; return NULL;
} }
@ -122,7 +122,7 @@ Handle(GEOM_BaseObject) GEOM_BaseObject::GetReferencedObject(const TDF_Label& th
// Get label of the referenced object // Get label of the referenced object
TDF_Label aLabel = aFather->Label(); TDF_Label aLabel = aFather->Label();
return GEOM_BaseObject::GetObject(aLabel); return GEOM_BaseObject::GetObject(aLabel);
} }