diff options
Diffstat (limited to 'source/blender/blenlib/intern/bpath.c')
-rw-r--r-- | source/blender/blenlib/intern/bpath.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c index 48912eb927a..9d3f4c4fd2f 100644 --- a/source/blender/blenlib/intern/bpath.c +++ b/source/blender/blenlib/intern/bpath.c @@ -68,6 +68,7 @@ #include "DNA_vfont_types.h" #include "DNA_scene_types.h" #include "DNA_smoke_types.h" +#include "DNA_freestyle_types.h" #include "BLI_blenlib.h" #include "BLI_bpath.h" @@ -507,6 +508,7 @@ void BLI_bpath_traverse_id(Main *bmain, ID *id, BPathVisitor visit_cb, const int case ID_SCE: { Scene *scene= (Scene *)id; + SceneRenderLayer *srl= scene->r.layers.first; if (scene->ed) { Sequence *seq; @@ -545,6 +547,12 @@ void BLI_bpath_traverse_id(Main *bmain, ID *id, BPathVisitor visit_cb, const int } SEQ_END } + for(; srl; srl= srl->next) { + FreestyleModuleConfig* module= srl->freestyleConfig.modules.first; + for (; module; module= module->next) { + rewrite_path_fixed(module->module_path, visit_cb, absbase, bpath_user_data); + } + } } break; case ID_ME: |