GPUBuffer: Fix fast navigate in on smoooth multires grid

This commit is contained in:
Clément Foucault 2019-02-23 22:35:53 +01:00
parent f680ab9c4e
commit 2f8d8b5e5e
Notes: blender-bot 2023-02-14 11:18:07 +01:00
Referenced by issue #58307, Multires Modifier - No smooth shading and no rotation depth.
1 changed files with 2 additions and 2 deletions

View File

@ -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;