~spud/spud/fluidity-plugin

Viewing all changes in revision 410.

  • Committer: Patrick Farrell
  • Date: 2011-07-07 09:55:43 UTC
  • mfrom: (409.1.3 fluidity-plugin)
  • Revision ID: patrick.farrell06@imperial.ac.uk-20110707095543-pnqm3g38f0vxnng7
Some cleanup of the show_triangle_mesh plugin.

I wanted to move the 

import enthought.whatever.engine as Engine

line into the handle_click() routine, so that we only
pay the cost of importing it if we actually use it:
but for some reason, mayavi2 crashes if I do it inside
the handle_click. It might be because handle_click runs in
a thread, or some nonsense like that.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: