[Maya-Python] Re: pyMel UI crashes 2013

2012-05-05 Thread dgovil
Thanks Justin, that worked a treat. I guess I should also look into what's changed in pyMel from 2012 to 2013. On May 5, 4:29 pm, Justin Israel wrote: > The usage of the context managers for the two menus are causing the crash. > If you remove the "with" statement and just run them normally, the

Re: [Maya-Python] Re: pyMel UI crashes 2013

2012-05-05 Thread Justin Israel
The usage of the context managers for the two menus are causing the crash. If you remove the "with" statement and just run them normally, the UI works: http://pastebin.com/02SVxcn2 May be a pymel bug with context managers. On May 5, 2012, at 4:14 PM, dgovil wrote: > Specifically I think I've t

[Maya-Python] Re: pyMel UI crashes 2013

2012-05-05 Thread dgovil
Specifically I think I've traced it down to the use of pm.menu() as the issue, but a few other things are throwing up issues. But building a new UI from scratch, the second I use pm.menu, it crashes the UI. -- view archives: http://groups.google.com/group/python_inside_maya change your subscript