Ignore:
Timestamp:
01/24/05 17:49:27 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r5912 r5974  
    16101610    TVirtualPad *padsav = gPad;
    16111611    oldc.cd();
    1612     gPad = &oldc; // FIXME: Why is this necessary to make GetDrawOption work?
    16131612
    16141613    //copy primitives
     
    16351634
    16361635        // Add the clone and its draw-option to the current pad
     1636        TVirtualPad *save2 = gPad;
     1637        gPad = &oldc; // Don't do this before Clone()!
    16371638        newc.GetListOfPrimitives()->Add(clone, obj->GetDrawOption());
     1639        gPad = save2;
    16381640    }
    16391641    newc.Modified();
Note: See TracChangeset for help on using the changeset viewer.