Revert "Limit maximum number of IVs on a shape"

This reverts commit 78fcc9847a9db6d42c8c263154ec05903a370b6b.
This commit is contained in:
Aaron Patterson 2023-01-26 11:04:55 -05:00
parent 6422fef90c
commit 88f2b94065
No known key found for this signature in database
GPG Key ID: 953170BCB4FFAFC6
2 changed files with 1 additions and 2 deletions

View File

@ -139,7 +139,7 @@ get_next_shape_internal(rb_shape_t * shape, ID id, enum shape_type shape_type, b
*variation_created = false;
if (new_shapes_allowed && shape->next_iv_index < SHAPE_MAX_NUM_IVS) {
if (new_shapes_allowed) {
RB_VM_LOCK_ENTER();
{
bool had_edges = !!shape->edges;

View File

@ -31,7 +31,6 @@ typedef uint16_t shape_id_t;
# define SHAPE_BITMAP_SIZE 16384
# define SHAPE_MAX_VARIATIONS 8
# define SHAPE_MAX_NUM_IVS 50
# define MAX_SHAPE_ID (SHAPE_MASK - 1)
# define INVALID_SHAPE_ID SHAPE_MASK