X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMDS%2FSMDS_MeshCell.cxx;h=4aaeed25a3d1068f16bdb5ef5ebe5c771c3fd754;hp=5407af69df663eb455842c90700725feedeb29ba;hb=5e2c97c386dc03e51e072c7f9909803a86307872;hpb=7f47e06b6cf4cd41902a43d5af10873325be774b diff --git a/src/SMDS/SMDS_MeshCell.cxx b/src/SMDS/SMDS_MeshCell.cxx index 5407af69d..4aaeed25a 100644 --- a/src/SMDS/SMDS_MeshCell.cxx +++ b/src/SMDS/SMDS_MeshCell.cxx @@ -422,12 +422,15 @@ namespace void SMDS_MeshCell::InitStaticMembers() { - initCellProps(); - initVtkTypes(); - initToVtkInterlaces(); - initReverseInterlaces(); - initQuadInterlace(); - initFromVtkInterlaces(); + if ( theCellProps.empty() ) + { + initCellProps(); + initVtkTypes(); + initToVtkInterlaces(); + initReverseInterlaces(); + initQuadInterlace(); + initFromVtkInterlaces(); + } } void SMDS_MeshCell::init( SMDSAbs_EntityType theEntity, int theNbNodes, ... )