[Bf-python] OnSave event -- patch attached to email

Nathan Letwory jesterking at letwory.net
Tue Jul 20 08:18:48 CEST 2004


> There is a small problem, though.  For some reason my build will not
> allow the creation of object or material scriptlinks.  I'm not sure why,
> but I cannot find  anything in my code that could account for this.  Was
> things that way before?

In buttons_script.c you set ob = 0 before using it (it was ob = OBACT, as
it should). Your build should crash hard when trying to add or delete a
script to objects. You can see it in the first part of the buttons_script
diff.

/Nathan



More information about the Bf-python mailing list