I am getting too fancy for my own good and inheriting MlabSceneModel, encapsulating some parameters and interactions that are specific to my application. explicity..
MyScene(MlabSceneModel):
#This part is just to give a flavor of why I would want to do this, but not part of the problem
@on_trait_change('activated')
def scene_activated(self):
self.scene.picker.pointpicker.add_observer(...)
def picker_callback(...)
#This is where the problem is
traits_view=View(Item('scene',editor=SceneEditor(scene_class=MayaviScene)))
As far as I can tell, everything works correctly, except for clicking on the top left button with "view the mayavi pipeline" hovertext. (The button is also a picture of the mayavi symbol). When I click this, I get
/tvtk/pyface/ui/qt4/scene_editor.py, line 47, in init:
"The SceneModel may only have one active editor!" AssertionError: The SceneModel may only have one active editor!