Cleanup: unused DNA
This commit is contained in:
@@ -59,7 +59,6 @@ void BKE_lamp_init(Lamp *la)
|
|||||||
BLI_assert(MEMCMP_STRUCT_OFS_IS_ZERO(la, id));
|
BLI_assert(MEMCMP_STRUCT_OFS_IS_ZERO(la, id));
|
||||||
|
|
||||||
la->r = la->g = la->b = la->k = 1.0f;
|
la->r = la->g = la->b = la->k = 1.0f;
|
||||||
la->haint = 1.0f;
|
|
||||||
la->energy = 10.0f;
|
la->energy = 10.0f;
|
||||||
la->dist = 25.0f;
|
la->dist = 25.0f;
|
||||||
la->spotsize = DEG2RADF(45.0f);
|
la->spotsize = DEG2RADF(45.0f);
|
||||||
|
|||||||
@@ -52,13 +52,10 @@ typedef struct Lamp {
|
|||||||
short type, flag;
|
short type, flag;
|
||||||
int mode;
|
int mode;
|
||||||
|
|
||||||
short colormodel, totex;
|
|
||||||
float r, g, b, k;
|
float r, g, b, k;
|
||||||
float shdwr, shdwg, shdwb, shdwpad;
|
float shdwr, shdwg, shdwb, shdwpad;
|
||||||
|
|
||||||
float energy, dist, spotsize, spotblend;
|
float energy, dist, spotsize, spotblend;
|
||||||
float haint;
|
|
||||||
|
|
||||||
|
|
||||||
float att1, att2; /* Quad1 and Quad2 attenuation */
|
float att1, att2; /* Quad1 and Quad2 attenuation */
|
||||||
float coeff_const, coeff_lin, coeff_quad, coeff_pad;
|
float coeff_const, coeff_lin, coeff_quad, coeff_pad;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ typedef struct World {
|
|||||||
ID id;
|
ID id;
|
||||||
struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
|
struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
|
||||||
|
|
||||||
short colormodel, totex;
|
char _pad0[4];
|
||||||
short texact, mistype;
|
short texact, mistype;
|
||||||
|
|
||||||
float horr, horg, horb;
|
float horr, horg, horb;
|
||||||
|
|||||||
Reference in New Issue
Block a user