[Bf-blender-cvs] [4d3d10f6251] blender2.8: New Outline: Fix warning.
Clément Foucault
noreply at git.blender.org
Tue Mar 28 00:13:17 CEST 2017
Commit: 4d3d10f6251c09006890ebb00f490d4915d47a96
Author: Clément Foucault
Date: Tue Mar 28 00:06:14 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB4d3d10f6251c09006890ebb00f490d4915d47a96
New Outline: Fix warning.
===================================================================
M source/blender/draw/modes/object_mode.c
===================================================================
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index 5be50cfa5cd..046fcc0a837 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -428,7 +428,6 @@ static void OBJECT_cache_init(void *vedata)
DRW_shgroup_uniform_buffer(grp, "outlineDepth", &txl->outlines_depth_tx, 1);
DRW_shgroup_uniform_buffer(grp, "sceneDepth", &dtxl->depth, 2);
DRW_shgroup_uniform_float(grp, "alphaOcclu", &alphaOcclu, 1);
- DRW_shgroup_uniform_vec2(grp, "viewportSize", DRW_viewport_size_get(), 1);
DRW_shgroup_call_add(grp, quad, NULL);
psl->outlines_expand = DRW_pass_create("Outlines Expand Pass", state);
More information about the Bf-blender-cvs
mailing list