[Bf-committers] performance variation of BKE_add_object function

Dalai Felinto dfelinto at gmail.com
Sun Oct 7 16:46:04 CEST 2012

small note, in case that helps:

I had to deal with a similar problem, on helping a project that had to
generate thousands of objects at once through python. The objects were
not generated from scratch, but copied from existent objects (thought
it may not apply to your brushes).

The solution at the time was to patch blender to have "flush
depsgraph" as an optional parameter to the add object operator. That
never got committed in trunk though.

Another option they ended up using was to have linked instances of the
object and 'make real' all at once.



More information about the Bf-committers mailing list