use armature active bone as a pointer rather then a flag for each bone that needs...
[blender.git] / source / blender / blenloader / intern / writefile.c
index 8ec12496e5928fcf3c413068de961bb6a8dc64de..b2147221f9fd11a23527d059c7e059db0d6d2c08 100644 (file)
@@ -1114,7 +1114,7 @@ static void write_pose(WriteData *wd, bPose *pose)
                
                /* prevent crashes with autosave, when a bone duplicated in editmode has not yet been assigned to its posechannel */
                if (chan->bone) 
-                       chan->selectflag= chan->bone->flag & (BONE_SELECTED|BONE_ACTIVE); /* gets restored on read, for library armatures */
+                       chan->selectflag= chan->bone->flag & BONE_SELECTED; /* gets restored on read, for library armatures */
                
                writestruct(wd, DATA, "bPoseChannel", 1, chan);
        }