diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index 94e32424ade..a652b9b9426 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -825,6 +825,7 @@ void DRW_shgroup_free(struct DRWShadingGroup *shgroup) void DRW_shgroup_instance_batch(DRWShadingGroup *shgroup, struct Batch *instances) { BLI_assert(shgroup->type == DRW_SHG_INSTANCE); + BLI_assert(shgroup->interface->instance_batch == NULL); shgroup->interface->instance_batch = instances; } |