Dear all!
I have next macro:
{
gROOT->Reset();
c1 = new TCanvas("c1","This is canvas c1",500,500);
new TBRIK("MAIN","This is main frame","void",20,20,20);
main_node = new TNode("MAINnode","This is main node","MAIN");
main_node->cd();
trd1 = new TTRD1("TRD1","TRD1","void",2,1,3,3);
trd1->SetLineColor(2);
//node = new TNode("NODE2","NODE2","TRD1",-9,-8,-10); // OK. TRD1 is RED
node = new TNode("NODE2","NODE2", trd1, -9,-8,-10); // ??? TRD1 is BLACK
c1->cd();
main_node->cd();
main_node->Draw();
c1->Draw();
c1->Update();
}
The problem is in the color of the shape "TRD1". It is RED if I use one TNode
constructor and BLACK if I use another.
Is it bug?
Alexander Zvyagin.