NLA SoC: Merge from 2.5 20215:20439 (HEAD)
[blender-staging.git] / source / blender / blenloader / intern / writefile.c
index bb1ee15eaea73cfe592c70e8d16399910e478563..5cf46b6fd281e33da33436181f33eaee8004c163 100644 (file)
@@ -989,6 +989,11 @@ static void write_pose(WriteData *wd, bPose *pose)
 
        /* Write channels */
        for (chan=pose->chanbase.first; chan; chan=chan->next) {
+               /* Write ID Properties -- and copy this comment EXACTLY for easy finding
+                of library blocks that implement this.*/
+               if (chan->prop)
+                       IDP_WriteProperty(chan->prop, wd);
+               
                write_constraints(wd, &chan->constraints);
                
                /* prevent crashes with autosave, when a bone duplicated in editmode has not yet been assigned to its posechannel */