Related to previous commit: Custom shapes for Bones now increase user

counter for linked objects.
This commit is contained in:
2010-12-22 16:44:28 +00:00
parent f4e5addf93
commit ff7d106da4

View File

@@ -2237,7 +2237,7 @@ static void lib_link_pose(FileData *fd, Object *ob, bPose *pose)
/* hurms... loop in a loop, but yah... later... (ton) */
pchan->bone= get_named_bone(arm, pchan->name);
pchan->custom= newlibadr(fd, arm->id.lib, pchan->custom);
pchan->custom= newlibadr_us(fd, arm->id.lib, pchan->custom);
if(pchan->bone==NULL)
rebuild= 1;
else if(ob->id.lib==NULL && arm->id.lib) {