Mesh Animation + Depsgraph Tweaks:
[blender-staging.git] / source / blender / editors / animation / keyframes_edit.c
index 039041d1efdd69abe7656457839254afc27cb692..b3b0d6308a73d6dc363bae0ec6d3f62b1cac01e5 100644 (file)
@@ -41,6 +41,7 @@
 #include "DNA_curve_types.h"
 #include "DNA_key_types.h"
 #include "DNA_lamp_types.h"
+#include "DNA_mesh_types.h"
 #include "DNA_material_types.h"
 #include "DNA_object_types.h"
 #include "DNA_meta_types.h"
@@ -285,6 +286,16 @@ static short ob_keys_bezier_loop(BeztEditData *bed, Object *ob, BeztEditFunc bez
                        }
                }
                        break;
+               case OB_MESH: /* ------- Mesh ---------- */
+               {
+                       Mesh *me= (Mesh *)ob->data;
+                       
+                       if ((me->adt) && !(filterflag & ADS_FILTER_NOMESH)) {
+                               if (adt_keys_bezier_loop(bed, me->adt, bezt_ok, bezt_cb, fcu_cb, filterflag))
+                                       return 1;
+                       }
+               }
+                       break;
        }
        
        /* Add Particle System Keyframes */