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:
Diffstat (limited to 'source/blender/makesdna/DNA_lamp_types.h')
-rw-r--r--source/blender/makesdna/DNA_lamp_types.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h
index 2a39580bb5c..c00dae08eb4 100644
--- a/source/blender/makesdna/DNA_lamp_types.h
+++ b/source/blender/makesdna/DNA_lamp_types.h
@@ -35,7 +35,7 @@
#include "DNA_scriptlink_types.h"
#ifndef MAX_MTEX
-#define MAX_MTEX 18
+#define MAX_MTEX 10
#endif
struct MTex;
@@ -45,8 +45,7 @@ struct CurveMapping;
typedef struct Lamp {
ID id;
- short type, pad3;
- int mode;
+ short type, mode;
short colormodel, totex;
float r, g, b, k;
@@ -56,9 +55,10 @@ typedef struct Lamp {
float att1, att2; /* Quad1 and Quad2 attenuation */
+ int pad2;
struct CurveMapping *curfalloff;
short falloff_type;
- short pad2;
+ short pad3;
float clipsta, clipend, shadspotsize;
float bias, soft;
@@ -99,7 +99,7 @@ typedef struct Lamp {
float YF_glowint, YF_glowofs;
short YF_glowtype, YF_pad2;
- struct MTex *mtex[18]; /* MAX_MTEX */
+ struct MTex *mtex[10];
struct Ipo *ipo;
/* preview */
@@ -137,12 +137,6 @@ typedef struct Lamp {
/* yafray: lamp shadowbuffer flag, softlight */
/* Since it is used with LOCAL lamp, can't use LA_SHAD */
#define LA_YF_SOFT 16384
-#define LA_LAYER_SHADOW 32768
-
-/* layer_shadow */
-#define LA_LAYER_SHADOW_BOTH 0
-#define LA_LAYER_SHADOW_CAST 1
-#define LA_LAYER_SHADOW_RECEIVE 2
/* sun effect type*/
#define LA_SUN_EFFECT_SKY 1