forked from bartvdbraak/blender
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:
parent
d0011f3318
commit
c2fffa60b1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user