From 4c727240f872db49c2494c1193c122b093f67098 Mon Sep 17 00:00:00 2001 From: dish Date: Fri, 27 Sep 2024 10:03:31 +0000 Subject: [PATCH] Test commit --- src/GEOM/GEOM_BaseObject.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GEOM/GEOM_BaseObject.cxx b/src/GEOM/GEOM_BaseObject.cxx index a833e7e40..7711ce96e 100644 --- a/src/GEOM/GEOM_BaseObject.cxx +++ b/src/GEOM/GEOM_BaseObject.cxx @@ -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)) { return NULL; } - + if(aRef.IsNull() || aRef->Get().IsNull()) { return NULL; } @@ -122,7 +122,7 @@ Handle(GEOM_BaseObject) GEOM_BaseObject::GetReferencedObject(const TDF_Label& th // Get label of the referenced object TDF_Label aLabel = aFather->Label(); - + return GEOM_BaseObject::GetObject(aLabel); }