Refactor/enhance BKE_material_make_local() and BKE_image_make_local().
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 10 Jul 2016 14:38:17 +0000 (16:38 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 10 Jul 2016 15:14:45 +0000 (17:14 +0200)
commitf35320bddfe745f348d19476654a34df611b37ba
treefcbcc5526a4829d7583ad1f4d7251b5fe11a2636
parent8932b5945ee05e61feeb4e5891a5ce4a786dd645
Refactor/enhance BKE_material_make_local() and BKE_image_make_local().

Now using modern features from libquery/libremap areas.

Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).
source/blender/blenkernel/BKE_armature.h
source/blender/blenkernel/BKE_material.h
source/blender/blenkernel/BKE_texture.h
source/blender/blenkernel/BKE_world.h
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/texture.c
source/blender/blenkernel/intern/world.c