mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 08:50:36 +05:00
Test commit
This commit is contained in:
parent
d72c6cd028
commit
4c727240f8
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user