From: dmv Date: Thu, 22 Oct 2009 09:41:29 +0000 (+0000) Subject: IPAL21423 TC_513 import SMEH_test.py failed X-Git-Tag: RELIQUAT_5x_30102009~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9bd7d4693eff62e0b00114b1b633d06028819ec6;p=modules%2Fsmesh.git IPAL21423 TC_513 import SMEH_test.py failed --- diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index fff0c5120..8a5c37daa 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -46,7 +46,6 @@ module SMESH enum log_command { ADD_NODE, - ADD_ELEM0D, ADD_EDGE, ADD_TRIANGLE, ADD_QUADRANGLE, @@ -69,7 +68,8 @@ module SMESH ADD_QUADTETRAHEDRON, ADD_QUADPYRAMID, ADD_QUADPENTAHEDRON, - ADD_QUADHEXAHEDRON + ADD_QUADHEXAHEDRON, + ADD_ELEM0D }; struct log_block diff --git a/src/SMESHDS/SMESHDS_CommandType.hxx b/src/SMESHDS/SMESHDS_CommandType.hxx index a033961bc..7279ba932 100644 --- a/src/SMESHDS/SMESHDS_CommandType.hxx +++ b/src/SMESHDS/SMESHDS_CommandType.hxx @@ -30,7 +30,6 @@ enum SMESHDS_CommandType { SMESHDS_AddNode, - SMESHDS_Add0DElement, SMESHDS_AddEdge, SMESHDS_AddTriangle, SMESHDS_AddQuadrangle, @@ -54,7 +53,9 @@ enum SMESHDS_CommandType { SMESHDS_AddQuadTetrahedron, SMESHDS_AddQuadPyramid, SMESHDS_AddQuadPentahedron, - SMESHDS_AddQuadHexahedron + SMESHDS_AddQuadHexahedron, + // special type for 0D elements + SMESHDS_Add0DElement }; diff --git a/src/SMESH_SWIG/SMESH_test.py b/src/SMESH_SWIG/SMESH_test.py index 73c31a721..da4eda843 100644 --- a/src/SMESH_SWIG/SMESH_test.py +++ b/src/SMESH_SWIG/SMESH_test.py @@ -130,5 +130,5 @@ for a in log: i2 = a.indexes[ii] ii = ii+1 i3 = a.indexes[ii] - #ii = ii+1 + ii = ii+1 print "AddTriangle %i - %i %i %i" % (ind, i1, i2, i3)