diff options
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index aca645acc09..47adc0acc60 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -695,7 +695,7 @@ static void duplidata_value_free(void *val) static void duplidata_key_free(void *key) { DupliKey *dupli_key = (DupliKey *)key; - if (dupli_key->ob_data == NULL) { + if (dupli_key->ob_data == dupli_key->ob->data) { drw_batch_cache_generate_requested(dupli_key->ob); } else { |