On Sat, Aug 08, 2009 at 03:08:58PM +0200, Gael Varoquaux wrote: > Now I need to figure out why the objects are now added to the wrong > scene, whereas they used to be added to the right one.
OK, the reason is that in changeset 24040, I added a line (line 40 of enthought/mayavi/tools/mlab_scene_model.py) that avoids that creating a scene has a side effect on the engine. In other words, this is not a bug, but a feature :). The example was being implicite and relying on side effects of scene creation. The new version is explicit to which scene the object should be added, and is better. I should add that until recently, the scene object did not expose a 'mayavi_scene' attribute, and thus it was harder to be explicit. Thanks for the report, I was fun to investigate that. Gaƫl ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ MayaVi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mayavi-users
