TGraphBentErrors->SetFillStyle problem

Hello,

I can’t get TGraphBentErrors->SetFillStyle to work, it displays a solid rectangle when I use option 3001.
I can however run the example in the THistPainter page for TGraphAssymErrors, so maybe there is a problem in TGraphBentErrors class.
Anyway, does anyone know if I am doing something wrong, or if there is a better way to overcome this than superimposing a TGraphAssymErrors with the errors calculated so they match the bent ones?

Thanks

can you post a small macro reproducing the problem ?

   TCanvas *c2 = new TCanvas("c2","c2",200,10,600,400);
   c2->Divide(2);
   double ax[] = {0, 1, 2, 3, 4};
   double ay[] = {0, 2, 4, 1, 3};
   double aexl[] = {0.1, 0.2, 0.3, 0.4, 0.5};
   double aexh[] = {0.5, 0.4, 0.3, 0.2, 0.1};
   double aeyl[] = {1, 0.5, 1, 0.5, 1};
   double aeyh[] = {0.5, 1, 0.5, 1, 0.5};
   TGraphAsymmErrors* gae = new TGraphAsymmErrors(5, ax, ay, aexl, aexh, aeyl, aeyh);
   TGraphBentErrors* gae2 = new TGraphBentErrors(5, ax, ay, aexl, aexh, aeyl, aeyh,0,0,0,0);
   gae->SetFillColor(2);
   gae->SetFillStyle(3001);
   gae2->SetFillColor(2);
   gae2->SetFillStyle(3001);
   c2->cd(1);
   gae->Draw("a2");
   gae->Draw("p");
   c2->cd(2);
   gae2->Draw("a2");
   gae2->Draw("p");

The left and right plot should be the same, shouldn’t they? I would like to change the solid fill on the one in the right

In my case (root trunk on Mac) they are.

Just installed v5.34 and works now, didn’t work on v5.26

Thank you