Le 15/09/2012 21:55, Nicholas Bishop a écrit : > I'm writing a script that displays a panel in the scene properties. > The panel is populated with information obtained from a server via a > socket. I'm using an operator and event_timer_add() to periodically > poll the socket for updates. I can see with print() that this is > working correctly, but I can't find how to signal my bpy panel to > update itself -- I don't see an equivalent to WM_event_add_notifier() > in bpy. > > I'm very new to Blender's Python API, any help is appreciated. > > Thanks, > -Nicholas > _______________________________________________ > Bf-python mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-python > hi, I would try to use a modal hooked to the 3d view, since panels are updated by user inputs in the 3d view, you could trigger something from here I guess.
_______________________________________________ Bf-python mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-python
