[Bf-blender-cvs] [4ad9d93fec7] master: Fix T65066 Armature and bone selection is broken on macOS

Clément Foucault noreply at git.blender.org
Mon May 27 13:38:10 CEST 2019


Commit: 4ad9d93fec776afdd27257a425d33d65d67f240b
Author: Clément Foucault
Date:   Mon May 27 13:37:58 2019 +0200
Branches: master
https://developer.blender.org/rB4ad9d93fec776afdd27257a425d33d65d67f240b

Fix T65066 Armature and bone selection is broken on macOS

===================================================================

M	source/blender/gpu/intern/gpu_batch.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_batch.c b/source/blender/gpu/intern/gpu_batch.c
index 933bcb2ed8e..09c29cc1654 100644
--- a/source/blender/gpu/intern/gpu_batch.c
+++ b/source/blender/gpu/intern/gpu_batch.c
@@ -621,7 +621,7 @@ void GPU_batch_draw_advanced(GPUBatch *batch, int v_first, int v_count, int i_fi
       /* If using offset drawing with instancing, we must
        * use the default VAO and redo bindings. */
       glBindVertexArray(GPU_vao_default());
-      batch_update_program_bindings(batch, v_first);
+      batch_update_program_bindings(batch, i_first);
     }
     else {
       /* Previous call could have bind the default vao



More information about the Bf-blender-cvs mailing list