[Bf-python] Problem with Registry module.

Campbell Barton cbarton at metavr.com
Sun Feb 27 17:02:41 CET 2005


Hi Joeedh, can I download your new GUI?
had a look at your old one and would be interested in seeing developments-
-Cam
joeedh wrote:

> Hi.  I've noticed that if I assign a class to a Registry dict, 
> whenever one of said classes's member functions is executes it 
> inexplicably is unable to find python's, much less Blender's, 
> namespaces (when it executes the classes's function code).
>
> For example, "len" is an undefined function, and when I tried to 
> import _builtin_ at the function level it said "__import__" was an 
> undefined function.  As was a BGL Buffer, etc.  Everything works fine 
> so long as it's not run from a Registry entry. . .
>
> Anyway, this is just an attempt to port my Bluewater GUI code to act 
> inside of a scriptlink, as I think that the MakeHuman project could 
> benefit from it  Bluewater (formerly BPyGUI) is a 100% opengl, (well, 
> Blender.BGL) GUI library that has windows, buttons, scrollbars, 
> textboxes, and images.   However, it requires a constantly running 
> UI_App, not one that is constantly being deleted and recreated by the 
> scriptlinks.
>
> joeedh
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241




More information about the Bf-python mailing list