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 fddda25..5990071 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] ));