replaced id->us++ with id_us_plus(id); so any indirect libdata isnt lost on reload.

added camera.dofDist to the python camera module
This commit is contained in:
2006-12-24 03:25:53 +00:00
parent 1c6f41a27a
commit b72bfbd923
10 changed files with 75 additions and 38 deletions

View File

@@ -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;