diff options
Diffstat (limited to 'source/blender/blenkernel/intern/geometry_component_curves.cc')
-rw-r--r-- | source/blender/blenkernel/intern/geometry_component_curves.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/geometry_component_curves.cc b/source/blender/blenkernel/intern/geometry_component_curves.cc index 0bcab0aae7a..4796135b32f 100644 --- a/source/blender/blenkernel/intern/geometry_component_curves.cc +++ b/source/blender/blenkernel/intern/geometry_component_curves.cc @@ -462,14 +462,14 @@ static ComponentAttributeProviders create_attribute_providers_for_curve() static BuiltinCustomDataLayerProvider nurbs_order("nurbs_order", ATTR_DOMAIN_CURVE, - CD_PROP_INT32, - CD_PROP_INT32, + CD_PROP_INT8, + CD_PROP_INT8, BuiltinAttributeProvider::Creatable, BuiltinAttributeProvider::Writable, BuiltinAttributeProvider::Deletable, curve_access, - make_array_read_attribute<int>, - make_array_write_attribute<int>, + make_array_read_attribute<int8_t>, + make_array_write_attribute<int8_t>, tag_component_topology_changed); static BuiltinCustomDataLayerProvider normal_mode("normal_mode", @@ -545,6 +545,7 @@ static ComponentAttributeProviders create_attribute_providers_for_curve() &handle_type_left, &normal_mode, &nurbs_order, + &nurbs_knots_mode, &nurbs_weight, &curve_type, &resolution, |