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

@@ -3111,7 +3111,7 @@ static int Object_setDupliGroup( BPy_Object * self, BPy_Group * args )
ob->dup_group->id.us--;
ob->dup_group = args->group;
ob->dup_group->id.us++;
id_us_plus(&ob->dup_group->id);
} else {
return EXPP_ReturnIntError( PyExc_TypeError,
"expected a group or None" );