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:
authorDalai Felinto <dfelinto@gmail.com>2018-05-06 01:23:13 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-05-06 01:23:13 +0300
commitf4e9620effaf40597967a0e5b82d4a4dd803c5ef (patch)
treee3191963c82a40bcd1ae03da14fb77733a5f9625 /source/blender/draw/intern/draw_armature.c
parente1e7915233c7d8ede600954f4b7261a1a030a7a6 (diff)
Fix crash on armature drawing
Diffstat (limited to 'source/blender/draw/intern/draw_armature.c')
-rw-r--r--source/blender/draw/intern/draw_armature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_armature.c b/source/blender/draw/intern/draw_armature.c
index 689f0770241..d2a36f2794c 100644
--- a/source/blender/draw/intern/draw_armature.c
+++ b/source/blender/draw/intern/draw_armature.c
@@ -749,7 +749,7 @@ static void bone_hint_color_shade(float hint_color[4], const float color[4])
{
mul_v3_v3fl(hint_color, color, HINT_MUL);
cp_shade_color3f(hint_color, -HINT_SHADE);
- hint_color[4] = 1.0f;
+ hint_color[3] = 1.0f;
}
static const float *get_bone_hint_color(