Massive Code cleanup:
[blender-staging.git] / source / blender / blenlib / intern / bpath.c
index f90bb4d61520f7695613d31e2b891272142a86d4..e6c51ca0786d6aa0fd64933d9d98673b8925cee0 100644 (file)
@@ -493,11 +493,6 @@ void BLI_bpath_traverse_id(Main *bmain, ID *id, BPathVisitor visit_cb, const int
                case ID_TE:
                {
                        Tex *tex = (Tex *)id;
-                       if (tex->plugin) {
-                               /* FIXME: rewrite_path assumes path length of FILE_MAX, but
-                                * tex->plugin->name is 160. ... is this field even a path? */
-                               //rewrite_path(tex->plugin->name, visit_cb, bpath_user_data);
-                       }
                        if (tex->type == TEX_VOXELDATA && TEX_VD_IS_SOURCE_PATH(tex->vd->file_format)) {
                                rewrite_path_fixed(tex->vd->source_path, visit_cb, absbase, bpath_user_data);
                        }
@@ -538,9 +533,6 @@ void BLI_bpath_traverse_id(Main *bmain, ID *id, BPathVisitor visit_cb, const int
                                                        rewrite_path_fixed(seq->strip->dir, visit_cb, absbase, bpath_user_data);
                                                }
                                        }
-                                       else if (seq->plugin) {
-                                               rewrite_path_fixed(seq->plugin->name, visit_cb, absbase, bpath_user_data);
-                                       }
 
                                }
                                SEQ_END