Commit: ed4c83f61fd330ba0728ce6774548906e524f36b
Author: Clément Foucault
Date: Mon Aug 24 19:25:43 2020 +0200
Branches: master
https://developer.blender.org/rBed4c83f61fd330ba0728ce6774548906e524f36b
T79811 MacOS: Edit Mode - vertex/edge/face selection is missing
This is quite embarassing... it was returning the base instance instead of
the correct vao. No wonder that it was causing crash and at most drawing
issues.
===================================================================
M source/blender/gpu/opengl/gl_batch.cc
===================================================================
diff --git a/source/blender/gpu/opengl/gl_batch.cc
b/source/blender/gpu/opengl/gl_batch.cc
index 2c80f3b31c6..04e8985902d 100644
--- a/source/blender/gpu/opengl/gl_batch.cc
+++ b/source/blender/gpu/opengl/gl_batch.cc
@@ -249,7 +249,7 @@ GLuint GLVaoCache::base_instance_vao_get(GPUBatch *batch,
int i_first)
base_instance_ = i_first;
GLVertArray::update_bindings(vao_base_instance_, batch, interface_,
i_first);
}
- return base_instance_;
+ return vao_base_instance_;
}
GLuint GLVaoCache::vao_get(GPUBatch *batch)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs