[Bf-blender-cvs] [aac32481aca] temp-pbvh-vbos: temp-pbvh-vbos: fix debug mode compile error
Joseph Eagar
noreply at git.blender.org
Wed Sep 28 22:43:25 CEST 2022
Commit: aac32481acabfbfbc8541dcda720cc93e4ca0940
Author: Joseph Eagar
Date: Wed Sep 28 13:43:12 2022 -0700
Branches: temp-pbvh-vbos
https://developer.blender.org/rBaac32481acabfbfbc8541dcda720cc93e4ca0940
temp-pbvh-vbos: fix debug mode compile error
===================================================================
M source/blender/draw/intern/draw_cache_impl_mesh.cc
===================================================================
diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.cc b/source/blender/draw/intern/draw_cache_impl_mesh.cc
index a79f3d3f850..acab4798ea8 100644
--- a/source/blender/draw/intern/draw_cache_impl_mesh.cc
+++ b/source/blender/draw/intern/draw_cache_impl_mesh.cc
@@ -994,8 +994,6 @@ void DRW_mesh_get_attributes(Object *object,
DRW_MeshCDMask cd_needed = mesh_cd_calc_used_gpu_layers(
object, me, gpumat_array, gpumat_array_len, &attrs_needed);
- BLI_assert(gpumat_array_len == cache->mat_len);
-
if (r_attrs) {
*r_attrs = attrs_needed;
}
More information about the Bf-blender-cvs
mailing list