Viewpoint reset in the opengl window

The viewpoint in the ogl window gets reset every time the TGeo graphics is updated (e.g. by gPad->Update()). Is there any way to suppress that.

The normal pad graphics keeps the viewpoint!

I would like to make a TGeoPhysicalNode::Align() without loosing my viewpoint in the ogl window.

Matthias

Hi Matthias,

Yes - I can see this is a problem - it was an (incorrect) assumption of mine that external changes to pad would required a reset of the GL viewer camera.
In some cases (where the pad has a completely new geometry being attached this may be valid.

I will look at fix.

Richard

Hi Matthias,

A fix has just been submitted to CVS head which should fix this. Please let me know if you have any problems.

Thanks

Richard