Salome HOME
Fixing of bug concerning the mesh info dialog after compute with quadratic elements
authorimn <imn@opencascade.com>
Thu, 27 Mar 2014 15:27:55 +0000 (19:27 +0400)
committerimn <imn@opencascade.com>
Thu, 27 Mar 2014 15:27:55 +0000 (19:27 +0400)
src/SMESHGUI/SMESHGUI_MeshInfosBox.cxx

index fddda25c2c61369ee36d7a654a4d0c2e771215fc..59900714e0e1032b34a505f89e98239253467205 100644 (file)
@@ -490,7 +490,7 @@ void SMESHGUI_MeshInfosBox::SetMeshInfo(const SMESH::long_array& theInfo)
     myNbQuadTetra  ->setText( QString("%1").arg( theInfo[SMDSEntity_Quad_Tetra] ));
     // hexas
     myNbHexa       ->setText( QString("%1").arg( theInfo[SMDSEntity_Hexa] +
-                                                 theInfo[SMDSEntity_TriQuad_Hexa],
+                                                 theInfo[SMDSEntity_TriQuad_Hexa] +
                                                  theInfo[SMDSEntity_Quad_Hexa] ));
     myNbLinHexa    ->setText( QString("%1").arg( theInfo[SMDSEntity_Hexa] ));
     myNbQuadHexa   ->setText( QString("%1").arg( theInfo[SMDSEntity_Quad_Hexa] ));