Fix failing cycles test from previous commit

Deprecated custom data type CD_MTEXPOLY has inconsistent data usage.

Reviewed By: Campbell Barton
This commit is contained in:
Chris Blackbourn
2022-07-21 16:25:01 +12:00
parent c171e8b95c
commit dd158f1cab

View File

@@ -4465,9 +4465,13 @@ static bool CustomData_layer_ensure_data_exists(CustomDataLayer *layer, size_t c
return true;
break;
case CD_MTEXPOLY:
/* TODO: Investigate multiple test failures on cycles, e.g. cycles_shadow_catcher_cpu. */
break;
default:
/* Log an error so we can collect instances of bad files. */
CLOG_ERROR(&LOG, "CustomDataLayer->data is NULL for type %d.", layer->type);
CLOG_WARN(&LOG, "CustomDataLayer->data is NULL for type %d.", layer->type);
break;
}
return false;