mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
0021153]: [CEA] non regression test fails
Fix Mesh.Prism(): replace ExtractShapes() by SubShapeAll() again
This commit is contained in:
parent
0953f1790f
commit
ae0943024f
@ -1361,8 +1361,8 @@ class Mesh:
|
|||||||
shape = geom
|
shape = geom
|
||||||
if shape==0:
|
if shape==0:
|
||||||
shape = self.geom
|
shape = self.geom
|
||||||
nbSolids = len( self.geompyD.ExtractShapes( shape, geompyDC.ShapeType["SOLID"] ))
|
nbSolids = len( self.geompyD.SubShapeAll( shape, geompyDC.ShapeType["SOLID"] ))
|
||||||
nbShells = len( self.geompyD.ExtractShapes( shape, geompyDC.ShapeType["SHELL"] ))
|
nbShells = len( self.geompyD.SubShapeAll( shape, geompyDC.ShapeType["SHELL"] ))
|
||||||
if nbSolids == 0 or nbSolids == nbShells:
|
if nbSolids == 0 or nbSolids == nbShells:
|
||||||
return Mesh_Prism3D(self, geom)
|
return Mesh_Prism3D(self, geom)
|
||||||
return Mesh_RadialPrism3D(self, geom)
|
return Mesh_RadialPrism3D(self, geom)
|
||||||
|
Loading…
Reference in New Issue
Block a user