Viewport giving me back my viewed Component


#1

I’m in the case where I’d like to show different panels within the same Viewport object (one at a time, obviously).

If would be nice if I could just set them as viewed component, without the previously one being deleted by setViewedComponent.

I think that adding a bool deleteOldComponent argument (true by default) to setViewedComponent would do the trick: it won’t break existing code, and will be useful in this particular case


#2

Thanks, good request!