diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-12-24 06:25:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-12-24 06:25:53 +0300 |
commit | b72bfbd9238b54bf38dec5a713cad59fa086d8e6 (patch) | |
tree | 1b2dd473c2941008bf29b6f805c24071e184253f /source/blender/python/api2_2x/Key.c | |
parent | 1c6f41a27a2b05a4b7bb06773b41ef5097fe52c1 (diff) |
replaced id->us++ with id_us_plus(id); so any indirect libdata isnt lost on reload.
added camera.dofDist to the python camera module
Diffstat (limited to 'source/blender/python/api2_2x/Key.c')
-rw-r--r-- | source/blender/python/api2_2x/Key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Key.c b/source/blender/python/api2_2x/Key.c index 0630fe6cf3e..2a94f6a4aad 100644 --- a/source/blender/python/api2_2x/Key.c +++ b/source/blender/python/api2_2x/Key.c @@ -369,7 +369,7 @@ static int Key_setIpo( PyObject * self, PyObject * value ) (( BPy_Key * )self)->key->ipo = ipo; if ( ipo ) { id = &ipo->id; - id->us++; + id_us_plus(id); } return 0; |