mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 17:30:35 +05:00
0022503: [CEA 1072] "Get Non Blocks" does not work on a set of faces
This commit is contained in:
parent
98ef49dbbc
commit
a6fe4c1ad0
5
src/GEOM_I/GEOM_IBlocksOperations_i.cc
Normal file → Executable file
5
src/GEOM_I/GEOM_IBlocksOperations_i.cc
Normal file → Executable file
@ -766,12 +766,15 @@ GEOM::GEOM_Object_ptr GEOM_IBlocksOperations_i::GetNonBlocks
|
|||||||
//Get the result
|
//Get the result
|
||||||
Handle(GEOM_Object) aFaces;
|
Handle(GEOM_Object) aFaces;
|
||||||
Handle(GEOM_Object) anObject = GetOperations()->GetNonBlocks(aShape, aFaces);
|
Handle(GEOM_Object) anObject = GetOperations()->GetNonBlocks(aShape, aFaces);
|
||||||
if (!GetOperations()->IsDone() || anObject.IsNull())
|
if (!GetOperations()->IsDone())
|
||||||
return aGEOMObject._retn();
|
return aGEOMObject._retn();
|
||||||
|
|
||||||
if (!aFaces.IsNull())
|
if (!aFaces.IsNull())
|
||||||
theNonQuads = GetObject(aFaces);
|
theNonQuads = GetObject(aFaces);
|
||||||
|
|
||||||
|
if (anObject.IsNull())
|
||||||
|
return aGEOMObject._retn();
|
||||||
|
|
||||||
return GetObject(anObject);
|
return GetObject(anObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user