[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender  branches/blender2.5/blender/source /blender/makesrna: RNA:
ideasman42 at gmail.com
Fri May 29 04:54:46 CEST 2009
I think there needs to be some option not to ref-count, from a quick
look at makesrna.c I didnt see this...
Some places objects dont use refcounting...
The are others too I think with scenes and text blocks.
For the following flags would be useful...
* ID_REFCOUNT - only incref/decref when this is set
* ID_NULL_OK - When setting ID pointers to NULL is acceptable, Ok with
scene->set, not with ob->data
* ID_REF_BUMP - Only increment the ID if its 0 (texface uses this when
assigning images, possibly 1 or 2 others)
Maybe RNA can do this now but some ID's assignments will need type
More information about the Bf-committers