[Bf-committers] Better integration of the python scripts in blender's UI

bf-committers@blender.org bf-committers@blender.org
Thu, 18 Sep 2003 15:19:28 -0400


Quoting Douglas Bischoff <bischofftep@mac.com>:

> On Thursday, September 18, 2003, at 02:51 PM, Greg McBride wrote:
> 
> > I can compile the tree with the old file. It will also compile with the
> > include <dirent.h > commented out but the Python menu button doesn't 
> > show
> > any scripts.

It's a platform issue. Win32 doesn't have dirent.h except in borland package. 
However, the readdr() and related f'ns are in other standard win32 includes, 
AFAIK -- that's why it compiles and it SHOULD work. However, more is needed. On 
win2k, I commented out the dirent include and then changed the hard-coded 
directories in the SCRIPTREPOSITORY variable (and other places!!) to match my 
system. Then it worked, and worked great! May have had to hard-code my 
directories because some function failed, but I didn't do enough observing of 
the code to find out ;)

Cheers,
Tom