Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-07-11 12:02:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-11 12:02:03 +0300
commitccc9f476cae786790e62303069f938a4f1cd2b14 (patch)
tree3b5cefc7edd70b41d7edab8894ec13cb2b70aa3a /source/blender
parentc17611af951e46fb82bf43d7449240f2f829b78f (diff)
Fix empty-images not using selection color
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/draw/modes/object_mode.c2
1 files changed, 1 insertions, 1 deletions
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}