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:
authorTon Roosendaal <ton@blender.org>2007-11-28 21:43:09 +0300
committerTon Roosendaal <ton@blender.org>2007-11-28 21:43:09 +0300
commitce52384e9f7d5dee531edf50b76a9edbe982863b (patch)
treef815dd17dfb23d205c073f3d79ee464cd3d0871c /source/blender/include
parentd6ce9e4abe54e3901c963a2d63abd1195a21dd33 (diff)
Small material assigning feature:
in EditButtons, panel "Links and Materials", there's now a browse button to directly assign a material to selected faces. It does: - check if material was already in one of the 'slots' of the object - if so, then use this as index to assign - if not, then add a new slot, and assign the new index
Diffstat (limited to 'source/blender/include')
-rw-r--r--source/blender/include/butspace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/include/butspace.h b/source/blender/include/butspace.h
index eb756fd932e..debac14f63e 100644
--- a/source/blender/include/butspace.h
+++ b/source/blender/include/butspace.h
@@ -370,6 +370,7 @@ void curvemap_buttons(struct uiBlock *block, struct CurveMapping *cumap, char la
#define B_DOCENTER 2015
#define B_DOCENTERNEW 2016
#define B_DOCENTERCURSOR 2017
+#define B_MATASS_BROWSE 2018
/* 20 values! */
#define B_OBLAY 2019
@@ -381,6 +382,7 @@ void curvemap_buttons(struct uiBlock *block, struct CurveMapping *cumap, char la
#define B_PREVKEY 2045
#define B_NEXTKEY 2046
#define B_LOCKKEY 2047
+#define B_MATCOL2 2048
#define B_MESHBUTS 2090