From 3f4b326d2c018da282cc14ddb65b032ee21a924f Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 23 Dec 2005 09:20:58 +0000 Subject: [PATCH] Fix for creation of the ScalarMap on the nodes --- src/VISU_I/VISU_CorbaMedConvertor.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 = "<