TGeoManager::SetMaxVisNodes() seems not working

It seems TGeoManager::SetMaxVisNodes() does not work: If I change the default 10000 maximum nodes to either larger or smaller number, the 10000 is still the maximum. Could someone check it please?

ROOT Version: 6.26.02
_Platform:_Ubuntu 20.04
Compiler: gcc v9.4.0

I’ll check next week. In the meanwhile, maybe @agheata can comment on this

Hi, SetMaxVisNodes will just compute a visibility depth for the manager so that the scene can draw as many nodes as requested. It is supposed to reduce the depth or increase it accordingly, but the implementation is indeed flawed. I’ll fix it, meanwhile, I suggest using directly SetVisLevel().

1 Like

Thank you Andrei!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.