From: Alan N. <ala...@us...> - 2010-11-29 23:27:14
|
Update of /cvsroot/vapor/vapor/lib/params In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv12480/lib/params Modified Files: datastatus.h Log Message: Fix for 3117797 Index: datastatus.h =================================================================== RCS file: /cvsroot/vapor/vapor/lib/params/datastatus.h,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** datastatus.h 10 Nov 2010 14:43:08 -0000 1.55 --- datastatus.h 29 Nov 2010 22:22:35 -0000 1.56 *************** *** 28,31 **** --- 28,32 ---- #include <vapor/DataMgr.h> + #include <vapor/MetadataVDC.h> #include <vapor/MyBase.h> #include <qcolor.h> *************** *** 356,363 **** --- 357,368 ---- //Note missing data if a request for the data fails: void setDataMissing(int timestep, int refLevel, int sessionVarNum){ + MetadataVDC* md = dynamic_cast<MetadataVDC*> (dataMgr); + if(md && md->GetVDCType() ==2) return; if (maxNumTransforms[sessionVarNum][timestep] >= refLevel) maxNumTransforms[sessionVarNum][timestep] = refLevel -1; } void setDataMissing2D(int timestep, int refLevel, int sessionVarNum){ + MetadataVDC* md = dynamic_cast<MetadataVDC*>(dataMgr); + if(md && md->GetVDCType() ==2) return; if (maxNumTransforms2D[sessionVarNum][timestep] >= refLevel) maxNumTransforms2D[sessionVarNum][timestep] = refLevel -1; |