Commit: 376e74f2aaa320e281decdcad169fbb8fded114d
Author: Clément Foucault
Date:   Wed Feb 28 02:10:38 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB376e74f2aaa320e281decdcad169fbb8fded114d

Object Mode: Fix incorrect lightprobe wire color when in edit mode.

===================================================================

M       source/blender/draw/intern/draw_common.c

===================================================================

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 */
                        }
                }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to