Small fix for surviving changes in library data.
In case an armature object lost its object-data, it crashed in trying to link the pose data.
This commit is contained in:
@@ -1477,7 +1477,7 @@ static void lib_link_pose(FileData *fd, Object *ob, bPose *pose)
|
||||
bPoseChannel *pchan;
|
||||
bArmature *arm= ob->data;
|
||||
int rebuild= 0;
|
||||
if (!pose)
|
||||
if (!pose || !arm)
|
||||
return;
|
||||
|
||||
for (pchan = pose->chanbase.first; pchan; pchan=pchan->next) {
|
||||
|
||||
Reference in New Issue
Block a user