[Bf-python] NewAction() user count
Campbell Barton
cbarton at metavr.com
Sat Jul 22 17:16:11 CEST 2006
Fixed this in the cvs, was just adding users in M_NLA_NewAction and
alloc_libblock
Campbell Barton wrote:
> Just noticed that python actions are created with too many users and
> never get de'allocated. from blenders library
>
> make a script
>
> from Blender import Armature
> Armature.NLA.NewAction()
>
> run it 30 or so times..
>
> Look at the actions in the data browser- there are 30 eacj with 2
> users and a Fake user.
>
> Now save your blend and reopen a few times. - there still there, but
> now with 1 user.
>
> - Cam
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-python
mailing list