Ignore:
Timestamp:
01/27/09 12:46:53 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msimreflector
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimreflector/MReflector.cc

    r9262 r9277  
    121121{
    122122    SetTitle(fname);
     123    fMirrors.Delete();
    123124
    124125    gSystem->ExpandPathName(fname);
     
    129130        *fLog << err << "Cannot open file " << fname << ": ";
    130131        *fLog << (errno!=0?strerror(errno):"Insufficient memory for decompression") << endl;
     132        return kFALSE;
    131133    }
    132134
     
    140142    */
    141143
    142     fMirrors.Delete();
    143 
    144144    while (1)
    145145    {
  • trunk/MagicSoft/Mars/msimreflector/MSimReflector.cc

    r9260 r9277  
    102102    }
    103103
     104    if (fReflector->GetNumMirrors()==0)
     105    {
     106        *fLog << err << "ERROR - Reflector doesn't contain a single mirror." << endl;
     107        return kFALSE;
     108    }
     109
    104110    fGeomCam = (MGeomCam*)pList->FindObject(fNameGeomCam, "MGeomCam");
    105111    if (!fGeomCam)
Note: See TracChangeset for help on using the changeset viewer.