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>2008-04-19 15:23:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-19 15:23:50 +0400
commit8a888dbdc794668d3043b075ae6d7a5d7d0a2c0e (patch)
tree68e634ce587585c7129f9d1e09278cf7675a2202 /source/blender/src/editobject.c
parentd00a0e56f69c00748c635bb06860041a8726d9fd (diff)
bugfix for [#8256] Creating proxy from linked mesh object removes materials
Diffstat (limited to 'source/blender/src/editobject.c')
-rw-r--r--source/blender/src/editobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index 8ae5764eb09..cd8038e5c6e 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -3675,7 +3675,7 @@ void copy_attr_menu()
strcat (str, "|Object Constraints%x22");
strcat (str, "|NLA Strips%x26");
- if ELEM5(ob->type, OB_MESH, OB_CURVE, OB_SURF, OB_FONT, OB_MBALL) {
+ if (OB_SUPPORT_MATERIAL(ob)) {
strcat(str, "|Texture Space%x17");
}