That problem should go away if your pumpThread synchronizes with the main thread instead of burying it with idle events, or is this a different issue?
On Tue, Oct 13, 2009 at 12:15 AM, Chad Dombrova <[email protected]> wrote: > > The threading seens to hold up pretty well... so far no crashs!! > > the problem with osx is *after* you shut down the other thread the main > thread never recovers: you can't open new windows, etc. > -chad > > > I'm happy!! :) > > I also started porting the controls to wxmaya. I think really soon I'll have > some basic wx controls with dinamic back and forward update from maya, just > mimicking mel ui controls behaviour. > > -H > > >> >> >> >> >> On Fri, Oct 9, 2009 at 10:59 PM, Chad Dombrova <[email protected]> wrote: >>> >>> well done! >>> awhile back i was messing with this, but i just gave up on it. glad you >>> were more persistent. there is a wx shell window included with ipython: >>> i'd love to see if we can get it working with your module because i have >>> some really nice maya attribute and dag path completers that i wrote for >>> it. using it inside maya would be a dream come true. osx has major >>> threading issues that even pumpthread won't fix, but this may be worth >>> rebooting into linux for. >>> -chad >>> >>> >>> On Oct 9, 2009, at 10:40 PM, Hradec wrote: >>> >>> Yep... everything you can do in the script editor window, you can do in >>> the pyshell window!!! >>> >>> for example, if you create a variable in the script editor, that variable >>> will be available in the pyshell window. >>> >>> the same for a module... if you import a module in the script editor, the >>> modulo is there in the pyshell window. >>> >>> and vice-versa, off course... >>> >>> the pyshell window is just a separated UI for the same python backend! :) >>> >>> -H >>> >>> On Fri, Oct 9, 2009 at 5:04 PM, chadrik <[email protected]> wrote: >>>> >>>> does the pyshell actually interact with the running maya? >>>> >>>> i.e. does: >>>> >>>> >>> cmds.sphere() >>>> >>>> actually make a sphere in the viewport? >>>> >>>> >>>> On Oct 9, 2009, at 4:19 PM, Hradec wrote: >>>> >>>> > >>>> > Hi there... >>>> > >>>> > Last weekend I open sourced a python module that I have being >>>> > working on for quite some time called wxmaya! >>>> > >>>> > The idea is integrate wxPython into maya in a simple and standard >>>> > way, leaving wxmaya to take care of all the thread management hassle. >>>> > >>>> > I'm starting open sourcing the base wxmaya.app class, which allows >>>> > you to open an wxApp from within maya. >>>> > >>>> > As an example, it comes with wxmaya.pyshell, which is a class that >>>> > open pyshell in maya. For those who don't know about it, pyshell is >>>> > a python shell that comes with wxwidgets, that has syntax-coloring >>>> > and code-completion!! YES... code completion DOES work with maya >>>> > modules, like maya.cmds and maya.OpenMaya >>>> > >>>> > Please have a look at it, download, play, enjoy, have fun! And if >>>> > possible, please report any issues or requests... or just drop a >>>> > line to say hello! =) >>>> > >>>> > And if someone really enjoy the idea and wants to help, drop me a >>>> > line! =) >>>> > >>>> > -- >>>> > Hradec >>>> > >>>> > > >>>> >>>> >>>> >>> >>> >>> >>> -- >>> Hradec >>> >>> >>> >>> -- >>> Hradec >>> >>> >>> >>> >>> >> >> >> >> -- >> Hradec >> >> >> >> -- >> Hradec >> >> >> >> >> > > > > -- > Hradec > > > > -- > Hradec > > > > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
