Changeset 6278


Ignore:
Timestamp:
02/07/05 11:49:25 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6277 r6278  
    3838   * mastro/MAstro.[h,cc]:
    3939     - added new function Angle2Coordinate
     40
     41   * mbase/MTaskEnv.[h,cc]:
     42     - fixed a bug which caused the resource task to be ignored
     43       if the default task was '<dummy>'
    4044
    4145
  • trunk/MagicSoft/Mars/mbase/MTaskEnv.cc

    r5994 r6278  
    183183    }
    184184
     185    ResetBit(kIsDummy);
    185186    SetBit(kIsOwner);
    186187
  • trunk/MagicSoft/Mars/mbase/MTaskEnv.h

    r5938 r6278  
    3232    void SetOwner(Bool_t b=kTRUE) { b ? SetBit(kIsOwner) : ResetBit(kIsOwner); }
    3333
    34     void SetDefault(MTask *task=0) { fTask = task; if (fTask) fTask->SetName(fName); else SetBit(kIsDummy); }
     34    void SetDefault(MTask *task=0) { fTask = task; if (fTask) { fTask->SetName(fName); ResetBit(kIsDummy); } else SetBit(kIsDummy); }
    3535    void SetDefault(const char *def);
    3636
Note: See TracChangeset for help on using the changeset viewer.