Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Eagar <joeedh@gmail.com>2022-08-31 18:26:57 +0300
committerJoseph Eagar <joeedh@gmail.com>2022-08-31 18:29:16 +0300
commita6ba8e5f38dbf62392088c3020aab549b7c80554 (patch)
tree812fbdf7460efad21d3e93816033881072ff0107 /source/blender/blenkernel/intern/mesh_validate.cc
parent0864ab52480c585a7b38e510303d7cd718ba1e38 (diff)
Core: Remove color attribute limit from CustomData API
Note: does not fix the limit in PBVH draw which is caused by VBO limits not MAX_MCOL.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_validate.cc')
-rw-r--r--source/blender/blenkernel/intern/mesh_validate.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/mesh_validate.cc b/source/blender/blenkernel/intern/mesh_validate.cc
index 9b2697ecc84..d17885e1214 100644
--- a/source/blender/blenkernel/intern/mesh_validate.cc
+++ b/source/blender/blenkernel/intern/mesh_validate.cc
@@ -1025,13 +1025,6 @@ bool BKE_mesh_validate_all_customdata(CustomData *vdata,
MAX_MTFACE,
tot_uvloop - MAX_MTFACE);
}
- if (tot_vcolloop > MAX_MCOL) {
- PRINT_ERR(
- "\tMore VCol layers than %d allowed, %d last ones won't be available for render, shaders, "
- "etc.\n",
- MAX_MCOL,
- tot_vcolloop - MAX_MCOL);
- }
/* check indices of clone/stencil */
if (do_fixes && CustomData_get_clone_layer(ldata, CD_MLOOPUV) >= tot_uvloop) {