Mesh Animation + Depsgraph Tweaks:
[blender-staging.git] / source / blender / editors / animation / keyframes_draw.c
index 631cec87c967ad324da20ee3f6166ab93bf296a1..42fe9160946ead6cdf9118e29b392588e7130146 100644 (file)
@@ -56,6 +56,7 @@
 #include "DNA_space_types.h"
 #include "DNA_key_types.h"
 #include "DNA_lamp_types.h"
+#include "DNA_mesh_types.h"
 #include "DNA_material_types.h"
 #include "DNA_meta_types.h"
 #include "DNA_node_types.h"
@@ -822,6 +823,14 @@ void ob_to_keylist(bDopeSheet *ads, Object *ob, DLRBT_Tree *keys, DLRBT_Tree *bl
                                action_to_keylist(arm->adt, arm->adt->action, keys, blocks);
                }
                        break;
+               case OB_MESH: /* ------- Mesh ---------- */
+               {
+                       Mesh *me= (Mesh *)ob->data;
+                       
+                       if ((me->adt) && !(filterflag & ADS_FILTER_NOMESH)) 
+                               action_to_keylist(me->adt, me->adt->action, keys, blocks);
+               }
+                       break;
        }
        
        /* Add Particle System Keyframes */