[Bf-blender-cvs] [f28b4c304c0] master: DRW: Fix previous commit

Clément Foucault noreply at git.blender.org
Sat May 11 13:17:52 CEST 2019


Commit: f28b4c304c06408ecdd135d5cb40e16574f15e44
Author: Clément Foucault
Date:   Sat May 11 13:16:57 2019 +0200
Branches: master
https://developer.blender.org/rBf28b4c304c06408ecdd135d5cb40e16574f15e44

DRW: Fix previous commit

PS: I hate my life

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

M	source/blender/draw/intern/draw_cache_impl_mesh.c

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

diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.c b/source/blender/draw/intern/draw_cache_impl_mesh.c
index d8e5e2555ef..02930d38b04 100644
--- a/source/blender/draw/intern/draw_cache_impl_mesh.c
+++ b/source/blender/draw/intern/draw_cache_impl_mesh.c
@@ -4892,7 +4892,7 @@ void DRW_mesh_batch_cache_create_requested(
   MeshBatchCache *cache = mesh_batch_cache_get(me);
 
   /* Early out */
-  if (batch_requested == 0) {
+  if (cache->batch_requested == 0) {
 #ifdef DEBUG
     goto check;
 #endif



More information about the Bf-blender-cvs mailing list