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:
authorCampbell Barton <ideasman42@gmail.com>2011-10-01 21:51:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-01 21:51:47 +0400
commit738491555d4e831186de337800dce4f14c56d252 (patch)
treeedf2dad1eb8599f63990156337541b5edc12a01b /source/blender/blenkernel/BKE_material.h
parent975c4e717798e71af3d46f06c3e25ae54e11fcca (diff)
BKE material api function: assign_material_id, like assign_material but takes the object data rather then the object.
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 cb6a0b9ab37..0e0348e78e9 100644
--- a/source/blender/blenkernel/BKE_material.h
+++ b/source/blender/blenkernel/BKE_material.h
@@ -71,6 +71,7 @@ short *give_totcolp_id(struct ID *id);
struct Material *give_current_material(struct Object *ob, short act);
struct ID *material_from(struct Object *ob, short act);
+void assign_material_id(struct ID *id, struct Material *ma, short act);
void assign_material(struct Object *ob, struct Material *ma, short act);
void assign_matarar(struct Object *ob, struct Material ***matar, short totcol);