Merge branch 'master' into blender2.8
[blender.git] / source / blender / makesdna / DNA_action_types.h
index c8780c6b4b8d970e31345bb01809bc6802b77210..95cbdeadf875ca383d1fc2bc290d4b8ea7a240ed 100644 (file)
@@ -393,7 +393,12 @@ typedef enum eRotationModes {
 typedef struct bPose {
        ListBase chanbase;          /* list of pose channels, PoseBones in RNA */
        struct GHash *chanhash;     /* ghash for quicker string lookups */
-       
+
+       /* Flat array of pose channels. It references pointers from
+        * chanbase. Used for quick pose channel lookup from an index.
+        */
+       bPoseChannel **chan_array;
+
        short flag, pad;
        unsigned int proxy_layer;   /* proxy layer: copy from armature, gets synced */
        int pad1;