mesh-cache deform modifier,
[blender.git] / source / blender / blenkernel / intern / bpath.c
index bb610ede9f739d713d9f6a07b60ac6740d66b8f3..b0021050e8f5076e97d3fef31a4d07e0465ba3f4 100644 (file)
@@ -459,6 +459,10 @@ void BKE_bpath_traverse_id(Main *bmain, ID *id, BPathVisitor visit_cb, const int
                                        OceanModifierData *omd = (OceanModifierData *) md;
                                        rewrite_path_fixed(omd->cachepath, visit_cb, absbase, bpath_user_data);
                                }
+                               else if (md->type == eModifierType_MeshCache) {
+                                       MeshCacheModifierData *mcmd = (MeshCacheModifierData *) md;
+                                       rewrite_path_fixed(mcmd->filepath, visit_cb, absbase, bpath_user_data);
+                               }
                        }
 
                        if (ob->soft) {