[Bf-committers] Add-Ons & Primitive Objects.

Dan Eicher dan at trollwerks.org
Sat Jun 5 20:34:36 CEST 2010

On Sat, Jun 5, 2010 at 10:28 AM, Campbell Barton <ideasman42 at gmail.com>wrote:

> Mentioned some of the problems we have with the API as I see it in a
> mail a while back, not many things have changed since then.
A lot of that stuff just needs someone to make a decision.

Things like "all add functions will be called foo_add()" or "all collections
will override add() and remove() instead of using new() and delete()". Could
also have controlled breakage this way, all add_foo() calls (and the bundled
scripts that use them) could be fixed on one commit.

Then someone writing a script will know that if foo.collection.add() doesn't
work it's a bug that needs to be reported and worked around. Also help with
finding the shortcomings in makesrna -- for example nodetree.nodes.new()
won't work because it needs a pointer to the nodetree but there's no flag
like USE_REPORTS that can pass it to the new() function.

Not that I don't appreciate how busy y'all are these days.

More information about the Bf-committers mailing list