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

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