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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-05-18 09:14:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-18 09:14:36 +0300
commit8faa59441371311a435b80487fe81eb60ea2e4fe (patch)
tree3798fc015af596cb9944e23710de258866c55c86 /source
parentf7e77692604a1fb92086b67b848e4d3ca219e6ae (diff)
Cleanup: unused DNA
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/lamp.c1
-rw-r--r--source/blender/makesdna/DNA_lamp_types.h7
-rw-r--r--source/blender/makesdna/DNA_world_types.h4
3 files changed, 4 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/lamp.c b/source/blender/blenkernel/intern/lamp.c
index 144f9e34c20..158d2954100 100644
--- a/source/blender/blenkernel/intern/lamp.c
+++ b/source/blender/blenkernel/intern/lamp.c
@@ -59,7 +59,6 @@ void BKE_lamp_init(Lamp *la)
BLI_assert(MEMCMP_STRUCT_OFS_IS_ZERO(la, id));
la->r = la->g = la->b = la->k = 1.0f;
- la->haint = 1.0f;
la->energy = 10.0f;
la->dist = 25.0f;
la->spotsize = DEG2RADF(45.0f);
diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h
index 43606cbcd9d..6294afe00e7 100644
--- a/source/blender/makesdna/DNA_lamp_types.h
+++ b/source/blender/makesdna/DNA_lamp_types.h
@@ -51,15 +51,12 @@ typedef struct Lamp {
short type, flag;
int mode;
-
- short colormodel, totex;
+
float r, g, b, k;
float shdwr, shdwg, shdwb, shdwpad;
float energy, dist, spotsize, spotblend;
- float haint;
-
-
+
float att1, att2; /* Quad1 and Quad2 attenuation */
float coeff_const, coeff_lin, coeff_quad, coeff_pad;
struct CurveMapping *curfalloff;
diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h
index ac93033609d..84050894faa 100644
--- a/source/blender/makesdna/DNA_world_types.h
+++ b/source/blender/makesdna/DNA_world_types.h
@@ -51,8 +51,8 @@ struct MTex;
typedef struct World {
ID id;
struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
-
- short colormodel, totex;
+
+ char _pad0[4];
short texact, mistype;
float horr, horg, horb;