]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for creation of the ScalarMap on the nodes
authorapo <apo@opencascade.com>
Fri, 23 Dec 2005 09:20:58 +0000 (09:20 +0000)
committerapo <apo@opencascade.com>
Fri, 23 Dec 2005 09:20:58 +0000 (09:20 +0000)
src/VISU_I/VISU_CorbaMedConvertor.cxx

index 78d2d2873a412da178d51ce1bc716eba0c729409..a7f9fec0e9e2b49bc44df572b589917e929aa7bf 100644 (file)
@@ -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 = "<<aNbElem);