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/World.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/World.c')
-rw-r--r-- | source/blender/python/api2_2x/World.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/World.c b/source/blender/python/api2_2x/World.c index eaf2fb2fd93..742a70c21b4 100644 --- a/source/blender/python/api2_2x/World.c +++ b/source/blender/python/api2_2x/World.c @@ -480,7 +480,7 @@ static PyObject *World_setIpo( BPy_World * self, PyObject * args ) id->us--; } - ( ( ID * ) & ipo->id )->us++; + id_us_plus(&ipo->id); self->world->ipo = ipo; |