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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user