diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-18 14:18:50 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-18 14:18:50 +0300 |
commit | 2735f6fda66076c34f853afaccfc4dd78f66ca1f (patch) | |
tree | 780b8bb1525213a58fe6ec43b04bf8b4a3d3421d /source/blender/windowmanager | |
parent | d85e94da07d3d8bb213ef2e3d98c2032edad7155 (diff) |
Replace 'BLO_is_a_library' by 'BLO_library_path_explode'.
This new func will be fully used by upcomming code (it mostly adds
the extraction of library item name as well as library file and ID group).
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index f5706c1cab4..6443651949e 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2610,7 +2610,7 @@ static int wm_link_append_exec(bContext *C, wmOperator *op) RNA_string_get(op->ptr, "directory", dir); /* test if we have a valid data */ - if (BLO_is_a_library(dir, libname, group) == 0) { + if (BLO_library_path_explode(dir, libname, group, NULL) == 0) { BKE_report(op->reports, RPT_ERROR, "Not a library"); return OPERATOR_CANCELLED; } |