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/draw/DRW_engine.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/draw/DRW_engine.h')
-rw-r--r-- | source/blender/draw/DRW_engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/DRW_engine.h b/source/blender/draw/DRW_engine.h index 669f7a24908..87cfa8e8e3b 100644 --- a/source/blender/draw/DRW_engine.h +++ b/source/blender/draw/DRW_engine.h @@ -52,6 +52,8 @@ void DRW_engine_register(struct DrawEngineType *draw_engine_type); void DRW_draw_view(const struct bContext *C); +void DRW_object_engine_data_free(struct Object *ob); + /* This is here because GPUViewport needs it */ void DRW_pass_free(struct DRWPass *pass); |