share code for fluidsim, ocean & dynamic paint file paths.
- use BLI_join_dirfile for joining all paths (no need to ensure slash is appended). - paths from linked library files now supported.
This commit is contained in:
@@ -77,7 +77,7 @@ static void rna_SceneRender_get_frame_path(RenderData *rd, int frame, char *name
|
||||
if(BKE_imtype_is_movie(rd->imtype))
|
||||
BKE_makeanimstring(name, rd);
|
||||
else
|
||||
BKE_makepicstring(name, rd->pic, (frame==INT_MIN) ? rd->cfra : frame, rd->imtype, rd->scemode & R_EXTENSION, TRUE);
|
||||
BKE_makepicstring(name, rd->pic, G.main->name, (frame==INT_MIN) ? rd->cfra : frame, rd->imtype, rd->scemode & R_EXTENSION, TRUE);
|
||||
}
|
||||
|
||||
#ifdef WITH_COLLADA
|
||||
|
||||
Reference in New Issue
Block a user