From 3b8e0606e1cfa484971d09c5060a78dbadbe1569 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 11 Jul 2016 21:03:02 +0200 Subject: Cleanup: remove call to BKE_id_lib_local_paths() in make_local functions. This one is already called by matching copy functions, no need to call it twice! --- source/blender/blenkernel/intern/brush.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/blender/blenkernel/intern/brush.c') diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 814934a9190..1f48d5835b7 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -244,9 +244,6 @@ void BKE_brush_make_local(Main *bmain, Brush *brush) brush_new->id.us = 0; - /* Remap paths of new ID using old library as base. */ - BKE_id_lib_local_paths(bmain, brush->id.lib, &brush_new->id); - BKE_libblock_remap(bmain, brush, brush_new, ID_REMAP_SKIP_INDIRECT_USAGE); } } -- cgit v1.2.3