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:
authorJacques Lucke <jacques@blender.org>2021-05-19 12:02:25 +0300
committerJacques Lucke <jacques@blender.org>2021-05-19 12:02:25 +0300
commit5e6f3b85646fe96031c3eafe65e9bc7b55468685 (patch)
treeebfa3f017a7d9ac702d3a9c92783ad078fffe57a /source/blender/blenkernel/BKE_material.h
parent02b80276b3f20c5b2502d0c4d689f30590350607 (diff)
Geometry Nodes: take materials into account when joining geometries
Materials are now kept intact when using the Join Geometry node or when realizing instaces.
Diffstat (limited to 'source/blender/blenkernel/BKE_material.h')
-rw-r--r--source/blender/blenkernel/BKE_material.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_material.h b/source/blender/blenkernel/BKE_material.h
index 96aae2d2d42..ef1de891bfe 100644
--- a/source/blender/blenkernel/BKE_material.h
+++ b/source/blender/blenkernel/BKE_material.h
@@ -109,6 +109,7 @@ void BKE_id_material_clear(struct Main *bmain, struct ID *id);
/* eval api */
struct Material *BKE_object_material_get_eval(struct Object *ob, short act);
int BKE_object_material_count_eval(struct Object *ob);
+void BKE_id_material_eval_assign(struct ID *id, int slot, struct Material *material);
/* rendering */