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:
authorClément Foucault <foucault.clem@gmail.com>2017-04-03 20:01:10 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-04-03 22:52:42 +0300
commitccd8353d58d769d435822e7dac25d8fdf317d6df (patch)
treecb5f87027d838837d11e471bb009cd9ac65d438a /source/blender/makesdna/DNA_lamp_types.h
parent682c4dcd1ea43581b3a1f3b5df4afca59145d478 (diff)
Object Engine: Fix multi user lamp data display bug.
Objects that were using the same lamp data were having the same display matrices. This is fixed by allowing engine to store a memory block inside the object itself.
Diffstat (limited to 'source/blender/makesdna/DNA_lamp_types.h')
-rw-r--r--source/blender/makesdna/DNA_lamp_types.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h
index 2393cbbf10d..a2e39f93875 100644
--- a/source/blender/makesdna/DNA_lamp_types.h
+++ b/source/blender/makesdna/DNA_lamp_types.h
@@ -106,10 +106,6 @@ typedef struct Lamp {
short pr_texture, use_nodes;
char pad6[4];
- float shapemat[4][4]; /* runtime, for display only */
- float spotconemat[4][4]; /* runtime, for display only */
- float spotblendmat[4][4]; /* runtime, for display only */
-
/* preview */
struct PreviewImage *preview;