From a6ba8e5f38dbf62392088c3020aab549b7c80554 Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Wed, 31 Aug 2022 08:26:57 -0700 Subject: 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. --- source/blender/io/alembic/intern/abc_customdata.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender/io/alembic/intern') diff --git a/source/blender/io/alembic/intern/abc_customdata.cc b/source/blender/io/alembic/intern/abc_customdata.cc index 2820a128072..35be9f9fc4d 100644 --- a/source/blender/io/alembic/intern/abc_customdata.cc +++ b/source/blender/io/alembic/intern/abc_customdata.cc @@ -583,10 +583,6 @@ void read_custom_data(const std::string &iobject_full_name, /* Read vertex colors according to convention. */ if (IC3fGeomParam::matches(prop_header) || IC4fGeomParam::matches(prop_header)) { - if (++num_colors > MAX_MCOL) { - continue; - } - read_custom_data_mcols(iobject_full_name, prop, prop_header, config, iss); continue; } -- cgit v1.2.3