Blender Git Commit Log

Git Commits -> Revision f108325

Revision f108325 by Ken Hughes (master)
September 8, 2006, 18:31 (GMT)


===Python API===
Bugfix for #4971: Scene.unlink() was incorrectly decrementing the datablock
user count whenever an object was removed from a scene, instead of only when
the object's count reached 0. The Python code was modified to use the
existing free_and_unlink_base() function (with some modifications to allow
specifying a scene). Also fixed a bug with the undocumented return codes
from the method; it now returns True if the object was found in the scene.

Commit Details:

Full Hash: f108325904c2d93e003f748c17bb6ba2b909fb0d
SVN Revision: 8463
Parent Commit: 1b6cf3e
Lines Changed: +20, -23

4 Modified Paths:

/source/blender/include/BDR_editobject.h (+1, -0) (Diff)
/source/blender/python/api2_2x/doc/Scene.py (+2, -0) (Diff)
/source/blender/python/api2_2x/Scene.c (+7, -19) (Diff)
/source/blender/src/editobject.c (+10, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021