Commit: ccc9f476cae786790e62303069f938a4f1cd2b14
Author: Campbell Barton
Date:   Wed Jul 11 11:02:03 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBccc9f476cae786790e62303069f938a4f1cd2b14

Fix empty-images not using selection color

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

M       source/blender/draw/modes/object_mode.c

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

diff --git a/source/blender/draw/modes/object_mode.c 
b/source/blender/draw/modes/object_mode.c
index 0726c3660d5..de4b8ffb193 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -835,7 +835,7 @@ static void DRW_shgroup_empty_image(
 
                {
                        
DRW_shgroup_instance_format(e_data.empty_image_wire_format, {
-                               {"objectColor",         DRW_ATTRIB_FLOAT, 4},
+                               {"color",               DRW_ATTRIB_FLOAT, 4},
                                {"size",                DRW_ATTRIB_FLOAT, 1},
                                {"offset",              DRW_ATTRIB_FLOAT, 2},
                                {"InstanceModelMatrix", DRW_ATTRIB_FLOAT, 16}

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to