Re: [ROOT] TLine ignores kCannotPick

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Mon Mar 08 2004 - 16:55:57 MET


Hi,

I found the reason.

Once I called
TMarker m;
TObject *o=m.Clone();
o->SetBit(kCannotPick);
o->Draw();

and the other time;
TLine l;
l.SetBit(kCannotPick);
TObject *o=l.Clone();
l->Draw();

BTW: Is it intendet, that the bits don't get cloned?

Thomas.

Rene Brun wrote:
> Please describe better "it seems". I cannot reproduce this problem.
> 
> Rene Brun
> 
> Thomas Bretz wrote:
> 
>>Dear all,
>>
>>while a TMarker in a TCanvas cannot be moved if bit kCannotPick is set
>>it seems, that a TLine can be moved and chenged...
>>
>>(root 3.10/02)
>>Thomas.
> 
> 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET