diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-11 14:16:57 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-11 14:16:57 +0300 |
commit | f28b4c304c06408ecdd135d5cb40e16574f15e44 (patch) | |
tree | b90fcb750a53679cc95ee8cfa20721b60b13d627 | |
parent | 3cac530ba69636add1a1f9a749821dda16be2055 (diff) |
DRW: Fix previous commit
PS: I hate my life
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_mesh.c | 2 |
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 |