diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-10-03 17:24:28 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-10-03 19:30:56 +0300 |
commit | 57c323b5d3a8227a00f99395bf3779174efe5335 (patch) | |
tree | d76f667e66a4fb7347d38e04fb3fc4db93c89773 /source/blender/draw | |
parent | f40fa55b5885ba75118e94b3b7f2b8e0b79c2555 (diff) |
Object Mode : Fix probe paralax display.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/modes/object_mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c index de09d21234b..1ad77c9ac1b 100644 --- a/source/blender/draw/modes/object_mode.c +++ b/source/blender/draw/modes/object_mode.c @@ -1590,10 +1590,10 @@ static void DRW_shgroup_lightprobe(OBJECT_StorageList *stl, OBJECT_PassList *psl } if (prb->parallax_type == LIGHTPROBE_SHAPE_BOX) { - DRW_shgroup_call_dynamic_add(stl->g_data->cube, color, &dist, obmat); + DRW_shgroup_call_dynamic_add(stl->g_data->cube, color, dist, obmat); } else { - DRW_shgroup_call_dynamic_add(stl->g_data->sphere, color, &dist, obmat); + DRW_shgroup_call_dynamic_add(stl->g_data->sphere, color, dist, obmat); } } } |