Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-12-24 06:25:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-12-24 06:25:53 +0300
commitb72bfbd9238b54bf38dec5a713cad59fa086d8e6 (patch)
tree1b2dd473c2941008bf29b6f805c24071e184253f /source/blender/python/api2_2x/Key.c
parent1c6f41a27a2b05a4b7bb06773b41ef5097fe52c1 (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.c2
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;