projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Blender Internal: Add material property "Cast" which can disable both ray and buffer...
[blender.git]
/
source
/
blender
/
render
/
intern
/
source
/
shadeinput.c
diff --git
a/source/blender/render/intern/source/shadeinput.c
b/source/blender/render/intern/source/shadeinput.c
index 90e5def64f69a3957f33d7a7e3c949dba73840b7..95e6cbd6354f655a7d47e855f2b12e04603b9ad8 100644
(file)
--- a/
source/blender/render/intern/source/shadeinput.c
+++ b/
source/blender/render/intern/source/shadeinput.c
@@
-276,6
+276,7
@@
void shade_input_set_triangle_i(ShadeInput *shi, ObjectInstanceRen *obi, VlakRen
shi->osatex = (shi->mat->texco & TEXCO_OSA);
shi->mode = shi->mat->mode_l; /* or-ed result for all nodes */
+ shi->mode2 = shi->mat->mode2_l;
/* facenormal copy, can get flipped */
shi->flippednor = 0;