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/Texture.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/Texture.c')
-rw-r--r--source/blender/python/api2_2x/Texture.c2
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;