[Bf-python] NewAction() user count

Campbell Barton cbarton at metavr.com
Thu Jul 20 03:06:58 CEST 2006


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



More information about the Bf-python mailing list