Skip to content

Pybind returns reference correctly in smtk::view

Pybind used to return copies of components and children in smtk.view.View.details(), smtk.view.Component.addChild() and smtk.view.Component.child(), which makes it impossible to modify the components. Now they returns references correctly. Also added a python test to test if those methods return references and we can modify them.

Merge request reports