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/Texture.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/Texture.c')
-rw-r--r-- | source/blender/python/api2_2x/Texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Texture.c b/source/blender/python/api2_2x/Texture.c index 42e8e1ca5f8..8d94632e70f 100644 --- a/source/blender/python/api2_2x/Texture.c +++ b/source/blender/python/api2_2x/Texture.c @@ -1996,7 +1996,7 @@ static int Texture_setIpo( BPy_Texture * self, PyObject * value ) self->texture->ipo = ipo; if ( ipo ) { id = &ipo->id; - id->us++; + id_us_plus(id); //id->us++; } return 0; |