diff options
Diffstat (limited to 'source/blender/blenlib/intern')
-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 8ad6cfc7cdf..80a5421aff3 100644 --- a/source/blender/blenlib/intern/bpath.c +++ b/source/blender/blenlib/intern/bpath.c @@ -67,6 +67,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" @@ -489,6 +490,7 @@ void bpath_traverse_id(Main *bmain, ID *id, BPathVisitor visit_cb, const int fla case ID_SCE: { Scene *scene= (Scene *)id; + SceneRenderLayer *srl= scene->r.layers.first; if (scene->ed) { Sequence *seq; @@ -524,6 +526,12 @@ void bpath_traverse_id(Main *bmain, ID *id, BPathVisitor visit_cb, const int fla } 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: |