diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-04 00:03:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-04 00:03:53 +0300 |
commit | fbc096cf075b65981bfb766353b002686a847503 (patch) | |
tree | f7aa1eb152c73be87c5f219263f450df6a03ee36 /source/blender/editors/render | |
parent | 8096190d11d6caf5facfc266791a08985179688a (diff) |
Fix expanding paths ignoring data-block libraries
- Image views.
- Sequencer text strip font.
- Text check for modified/reload.
- Collada image export.
- Brush icons.
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index 3e001ef25b5..55fbd701a47 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -115,7 +115,7 @@ ImBuf *get_brush_icon(Brush *brush) // first use the path directly to try and load the file BLI_strncpy(path, brush->icon_filepath, sizeof(brush->icon_filepath)); - BLI_path_abs(path, BKE_main_blendfile_path_from_global()); + BLI_path_abs(path, ID_BLEND_PATH_FROM_GLOBAL(&brush->id)); /* use default colorspaces for brushes */ brush->icon_imbuf = IMB_loadiffname(path, flags, NULL); |