[Bf-blender-cvs] [6a6f7547e3b] blender2.8: DRW: Finish 85d3de94c62fab1394c11fe50614c897f7f68ee3
Clément Foucault
noreply at git.blender.org
Wed Jan 31 14:57:58 CET 2018
Commit: 6a6f7547e3bf1920a010aaab7ebced83245db34e
Author: Clément Foucault
Date: Wed Jan 31 15:00:39 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB6a6f7547e3bf1920a010aaab7ebced83245db34e
DRW: Finish 85d3de94c62fab1394c11fe50614c897f7f68ee3
===================================================================
M source/blender/draw/intern/draw_manager.c
===================================================================
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index c6905982b64..b9873ff3926 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -1782,7 +1782,7 @@ static void draw_geometry_prepare(
GPU_shader_uniform_vector(shgroup->shader, interface->modelviewinverse, 16, 1, (float *)mvi);
GPU_shader_uniform_vector(shgroup->shader, interface->normal, 9, 1, (float *)n);
GPU_shader_uniform_vector(shgroup->shader, interface->worldnormal, 9, 1, (float *)wn);
- GPU_shader_uniform_vector(shgroup->shader, interface->camtexfac, 4, 1, (float *)rv3d->viewcamtexcofac);
+ GPU_shader_uniform_vector(shgroup->shader, interface->camtexfac, 4, 1, (float *)viewcamtexcofac);
GPU_shader_uniform_vector(shgroup->shader, interface->orcotexfac, 3, 2, (float *)orcofacs);
GPU_shader_uniform_vector(shgroup->shader, interface->eye, 3, 1, (float *)eye);
GPU_shader_uniform_vector(shgroup->shader, interface->clipplanes, 4, DST.num_clip_planes, (float *)DST.clip_planes_eq);
More information about the Bf-blender-cvs
mailing list