Commit: eb6e05b2cecb02e94ed5c9c93b41667c9776a2e2
Author: Joshua Leung
Date:   Mon Jun 16 21:59:42 2014 +1200
https://developer.blender.org/rBeb6e05b2cecb02e94ed5c9c93b41667c9776a2e2

PoseLib: New pose library actions now have their "id root" setting initialised 
properly

===================================================================

M       source/blender/editors/armature/pose_lib.c

===================================================================

diff --git a/source/blender/editors/armature/pose_lib.c 
b/source/blender/editors/armature/pose_lib.c
index 3f4f720..0b115da 100644
--- a/source/blender/editors/armature/pose_lib.c
+++ b/source/blender/editors/armature/pose_lib.c
@@ -189,7 +189,9 @@ static bAction *poselib_init_new(Object *ob)
        /* init object's poselib action (unlink old one if there) */
        if (ob->poselib)
                id_us_min(&ob->poselib->id);
+               
        ob->poselib = add_empty_action(G.main, "PoseLib");
+       ob->poselib->idroot = ID_OB;
        
        return ob->poselib;
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to