Fix empty-images not using selection color
authorCampbell Barton <ideasman42@gmail.com>
Wed, 11 Jul 2018 09:02:03 +0000 (11:02 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 11 Jul 2018 09:02:03 +0000 (11:02 +0200)
source/blender/draw/modes/object_mode.c

index 0726c3660d591829c272d1debc1ce9529c82af10..de4b8ffb1932d3a9975da1c97ceac706cc64a22b 100644 (file)
@@ -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}