View Full Version : XPanels Non-Modal Dialog?

06-23-2006, 10:24 AM
Hi all,

I've been working lately on the plugin for 2D and 3D morphing and I'm currently working on the user interface. The plugin is currently made for Modeler, but that may change in the future, depending on the needs of the users.

The problem is, I'd like my panel to be non-modal. Main reason is that the plugin needs some time to calculate everything and the user should be able to continue working in the meantime.
So I wanted to use Form Panel with LWXPanelFuncs->open(panel) instead of LWXPanelFuncs->post(panel).

The question is, how do I destroy the panel. If iI don't call LWXPanelFuncs->destroy(panel) memory is not released, and I can't call destroy because I don't know when the plugin is closed. I would like to stay away from MeshEditTool class because I don't really need it. The plugin is not interactive tool.

Thanks for any suggestions,