Salome HOME
fix creation of biquadratic pentahedron from menu add element
authorPaul RASCLE <paul.rascle@edf.fr>
Tue, 19 Sep 2017 08:00:05 +0000 (10:00 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Tue, 19 Sep 2017 08:00:05 +0000 (10:00 +0200)
src/SMESH_I/SMESH_MeshEditor_i.cxx

index 9b79bea..6dfd0d6 100644 (file)
@@ -1151,6 +1151,10 @@ CORBA::Long SMESH_MeshEditor_i::AddVolume(const SMESH::long_array & IDsOfNodes)
                                         n[8],n[9],n[10],n[11],n[12],n[13],n[14],
                                         n[15],n[16],n[17],n[18],n[19]);
     break;
+  case 18:elem = getMeshDS()->AddVolume(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],
+                                        n[8],n[9],n[10],n[11],n[12],n[13],n[14],
+                                        n[15],n[16],n[17]);
+    break;
   case 27:elem = getMeshDS()->AddVolume(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],
                                         n[8],n[9],n[10],n[11],n[12],n[13],n[14],
                                         n[15],n[16],n[17],n[18],n[19],