Multi-View Inheritance

A recent “bug” that I have noticed is that when using the multi view in avogadro (e.g. split horizontal, split vertical) the new windows doesn’t inherit the rendering properties from the old window. This includes but is not limited to: background color, ambient occlusion setting, fog rendering, edge detection, and perspective.

I think there is a bug in /avogadrolibs/avogadro/qtgui/multiviewwidget.cpp, since in lines 114-133 there seems to be a section in the method MultiViewWidget::createView() that should pull the “options” from the parent widget.

I have to say, I am not sure that that is indeed the correct interpretation of this section, I am just basing that off of a cursory glance at the code. It may be that there is some other bit, or perhaps there is no code for that at all and I am just making things up. Regardless, I think that this should be a feature if it doesn’t already exist.

1 Like

Yeah, that code doesn’t really know about the layer features.

I think the best thing would be if you submit a bug report on GitHub so we can track it.