Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <b.mont29@gmail.com>2020-03-04 13:05:41 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-03-04 13:43:30 +0300
commit4e597a5cff6bb4195b8fc9c8102bfbdc4958b31f (patch)
tree8fd045a1a79f19e11c028b51b03d81ee95468b55 /source/blender/blenkernel/intern/material.c
parent76d8e8693fab13d300130dc3a9bd75f6f637991d (diff)
Cleanup: ID make local: remove `id_in_bmain` argument.
This info is now stored in ID tags themselves, so no need to pass an extra anonymous boolean parameter around, yay!
Diffstat (limited to 'source/blender/blenkernel/intern/material.c')
-rw-r--r--source/blender/blenkernel/intern/material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c
index e13f9bcf684..a60953f0ed1 100644
--- a/source/blender/blenkernel/intern/material.c
+++ b/source/blender/blenkernel/intern/material.c
@@ -232,7 +232,7 @@ Material *BKE_material_localize(Material *ma)
void BKE_material_make_local(Main *bmain, Material *ma, const bool lib_local)
{
- BKE_lib_id_make_local_generic(bmain, &ma->id, true, lib_local);
+ BKE_lib_id_make_local_generic(bmain, &ma->id, lib_local);
}
Material ***BKE_object_material_array(Object *ob)