Use SetMaxOrbs() instead of direct member access.
[u/mrichter/AliRoot.git] / EVE / alice-macros / kine_tracks.C
index 74f83d5..354280a 100644 (file)
@@ -293,7 +293,7 @@ kine_track(Int_t  label,
       char tooltip[1000];
       sprintf(tooltip,"Ndaughters=%d", p->GetNDaughters());
       tlist->SetTitle(tooltip);
-      trkProp->fMaxOrbs = 2;
+      trkProp->SetMaxOrbs(2);
       trkProp->SetEditPathMarks(kTRUE);
 
       gEve->AddElement(cont);