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

@@ -1375,7 +1375,7 @@ typeError:
object = alloc_libblock( &( G.main->object ), ID_OB, name );
if( data ) {
object->data = data;
((ID *)data)->us++;
id_us_plus((ID *)data);
}
object->flag = SELECT;