void item_Click(object sender, EventArgs e) { EnumDEC type = (EnumDEC)((ToolStripMenuItem)sender).Tag; if (Mesh == null) { return; } DECController.Instance.Run(Mesh, type); OnChanged(EventArgs.Empty); }
public void Run(TriMesh mesh, EnumDEC type) { SpinForm from = new SpinForm(mesh); from.UpdateDeformation("D:\\bumpy.tga", 5); }