[Bf-blender-cvs] [2f8d8b5e5e4] master: GPUBuffer: Fix fast navigate in on smoooth multires grid
Clément Foucault
noreply at git.blender.org
Sat Feb 23 22:36:32 CET 2019
Commit: 2f8d8b5e5e4b851258a369c0226e3eca49ab5b2c
Author: Clément Foucault
Date: Sat Feb 23 22:35:53 2019 +0100
Branches: master
https://developer.blender.org/rB2f8d8b5e5e4b851258a369c0226e3eca49ab5b2c
GPUBuffer: Fix fast navigate in on smoooth multires grid
===================================================================
M source/blender/gpu/intern/gpu_buffers.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index 242882b011a..a59b22dee0d 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -418,8 +418,8 @@ static void gpu_pbvh_grid_fill_index_buffers(
if (grid_visible) {
/* Grid corners */
- v0 = offset + gridsize - 1;
- v1 = offset;
+ v0 = offset;
+ v1 = offset + gridsize - 1;
v2 = offset + grid_vert_len - 1;
v3 = offset + grid_vert_len - gridsize;
More information about the Bf-blender-cvs
mailing list