diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-02-28 04:10:38 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-02-28 04:10:38 +0300 |
commit | 376e74f2aaa320e281decdcad169fbb8fded114d (patch) | |
tree | c2876a53d2ee2dc715215e17071f5c4e16f75ce5 /source/blender/draw/intern/draw_common.c | |
parent | 4d382e2564102b794ceba1c2acc0c63a8c9d9408 (diff) |
Object Mode: Fix incorrect lightprobe wire color when in edit mode.
Diffstat (limited to 'source/blender/draw/intern/draw_common.c')
-rw-r--r-- | source/blender/draw/intern/draw_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_common.c b/source/blender/draw/intern/draw_common.c index 681a6a8dabe..1299b1b757b 100644 --- a/source/blender/draw/intern/draw_common.c +++ b/source/blender/draw/intern/draw_common.c @@ -481,6 +481,7 @@ int DRW_object_wire_theme_get(Object *ob, ViewLayer *view_layer, float **r_color else if (ob->type == OB_SPEAKER) theme_id = TH_SPEAKER; else if (ob->type == OB_CAMERA) theme_id = TH_CAMERA; else if (ob->type == OB_EMPTY) theme_id = TH_EMPTY; + else if (ob->type == OB_LIGHTPROBE) theme_id = TH_EMPTY; /* TODO add lightprobe color */ /* fallback to TH_WIRE */ } } |