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:
parent
c171e8b95c
commit
dd158f1cab
Notes:
blender-bot
2023-02-13 17:55:54 +01:00
Referenced by issue #90620, UV Editing crash
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue