Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-05-11 14:16:57 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-11 14:16:57 +0300
commitf28b4c304c06408ecdd135d5cb40e16574f15e44 (patch)
treeb90fcb750a53679cc95ee8cfa20721b60b13d627
parent3cac530ba69636add1a1f9a749821dda16be2055 (diff)
DRW: Fix previous commit
PS: I hate my life
-rw-r--r--source/blender/draw/intern/draw_cache_impl_mesh.c2
1 files changed, 1 insertions, 1 deletions
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