From: apo Date: Fri, 23 Dec 2005 09:20:58 +0000 (+0000) Subject: Fix for creation of the ScalarMap on the nodes X-Git-Tag: TG-D5-38-2003_D2005-29-12~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3f4b326d2c018da282cc14ddb65b032ee21a924f;p=modules%2Fvisu.git Fix for creation of the ScalarMap on the nodes --- diff --git a/src/VISU_I/VISU_CorbaMedConvertor.cxx b/src/VISU_I/VISU_CorbaMedConvertor.cxx index 78d2d287..a7f9fec0 100644 --- a/src/VISU_I/VISU_CorbaMedConvertor.cxx +++ b/src/VISU_I/VISU_CorbaMedConvertor.cxx @@ -1249,8 +1249,7 @@ ImportField(TArray& theArray, VISU::EGeometry aEGeom = VISU::ePOINT1; int aNbGauss = theValForTime->GetNbGauss(aEGeom); const TNamedPointCoords& aCoords = theMesh->myNamedPointCoords; - int aNbPoints = aCoords.GetNbPoints(); - int aNbElem = aNbPoints*aNbComp; + int aNbElem = aCoords.GetNbPoints(); if(MYDEBUG) MESSAGE("ImportField - aNbElem = "<