[Bf-blender-cvs] [bf2bb6db261] master: Cleanup: silence unused variable warning
Ankit Meel
noreply at git.blender.org
Fri Jul 17 13:43:27 CEST 2020
Commit: bf2bb6db26113d4c097d3f9201d40d295da223f5
Author: Ankit Meel
Date: Fri Jul 17 12:50:08 2020 +0530
Branches: master
https://developer.blender.org/rBbf2bb6db26113d4c097d3f9201d40d295da223f5
Cleanup: silence unused variable warning
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D8328
===================================================================
M source/blender/draw/intern/draw_cache_impl_pointcloud.c
===================================================================
diff --git a/source/blender/draw/intern/draw_cache_impl_pointcloud.c b/source/blender/draw/intern/draw_cache_impl_pointcloud.c
index 5977c60335f..17902f27513 100644
--- a/source/blender/draw/intern/draw_cache_impl_pointcloud.c
+++ b/source/blender/draw/intern/draw_cache_impl_pointcloud.c
@@ -270,6 +270,7 @@ GPUBatch **DRW_cache_pointcloud_surface_shaded_get(Object *ob,
PointCloud *pointcloud = ob->data;
PointCloudBatchCache *cache = pointcloud_batch_cache_get(pointcloud);
BLI_assert(cache->mat_len == gpumat_array_len);
+ UNUSED_VARS(gpumat_array_len);
if (cache->surface_per_mat[0] == NULL) {
pointcloud_batch_cache_ensure_pos(ob, cache);
More information about the Bf-blender-cvs
mailing list