[Bf-python] Clearing single scriptlink
Stephen Swaney
sswaney at centurytel.net
Mon Mar 21 05:20:28 CET 2005
On Sun, Mar 20, 2005 at 05:39:20PM -0800, Ken Hughes wrote:
>
> OK, I'll implement it this way and upload some patches shortly.
> One other thing which, looking at the code, we maybe should
> consider: the documentation for clearScriptLinks() [in
> for Object class, anyway] says it returns "0 if some internal
> problem occurred or 1 if successful", which doesn't seem
> very helpful. I hate exceptions as much as the next guy
> (well, hate *getting* them, anyway), but at least they're
> diagnostic so I can try to figure out why it failed.
I like exceptions (well, not *getting* them!) for too many
reasons to go into at this late hour. I would like to
see this become the preferred method for reporting errors
in bpy rather than clunky return codes.
--
Stephen Swaney
sswaney at centurytel.net
More information about the Bf-python
mailing list