diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-04-03 20:01:10 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-04-03 22:52:42 +0300 |
commit | ccd8353d58d769d435822e7dac25d8fdf317d6df (patch) | |
tree | cb5f87027d838837d11e471bb009cd9ac65d438a /source/blender/makesdna/DNA_object_types.h | |
parent | 682c4dcd1ea43581b3a1f3b5df4afca59145d478 (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_object_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index a0ed163a4cb..71d05e41c43 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -304,6 +304,8 @@ typedef struct Object { struct PreviewImage *preview; struct IDProperty *base_collection_properties; /* used by depsgraph, flushed from base */ + + ListBase drawdata; /* runtime, for draw engine datas */ } Object; /* Warning, this is not used anymore because hooks are now modifiers */ |