From 38e58612efbd79807ffc030ed6093e6110b2fd5a Mon Sep 17 00:00:00 2001 From: IRIE Shinsuke Date: Wed, 12 Feb 2014 05:41:09 +0900 Subject: Revert own previous commit rBe2f9afbaabbd. The "Cast Shadows" worked as expected, but it can cause problem in some cases. For example, when using strand render, we need disabling only buffer shadows, but the previous changes made that impossible. "Cast Shadows" should be added as a newly created option. --- source/blender/makesdna/DNA_material_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_material_types.h') diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 8dc46ec95d9..a6478f2ae69 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -267,7 +267,7 @@ typedef struct Material { #define MA_RAYBIAS 0x400000 #define MA_FULL_OSA 0x800000 #define MA_TANGENT_STR 0x1000000 -#define MA_CASTSHADOW 0x2000000 +#define MA_SHADBUF 0x2000000 /* note; we drop MA_TANGENT_STR later to become tangent_u */ #define MA_TANGENT_V 0x4000000 /* qdn: a bit clumsy this, tangents needed for normal maps separated from shading */ -- cgit v1.2.3