diff options
author | Hans Goudey <h.goudey@me.com> | 2021-07-19 04:54:20 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-07-19 04:54:20 +0300 |
commit | 51f6fa351d417aff102b6f819e1998a09b00b338 (patch) | |
tree | c2e827dc2629ff28226da8e33e7de7b55a9a04ee /source/blender/makesrna/intern | |
parent | db384d4df6c0aca209554573e2fe85efa9f0cd0d (diff) |
Working sampling, only sampling builtin curve attributes doesn't work
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index ce2c777b782..8f6318c9d46 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -10000,16 +10000,16 @@ static void def_geo_curve_sample(StructRNA *srna) PropertyRNA *prop; static EnumPropertyItem mode_items[] = { - {GEO_NODE_CURVE_SAMPLE_FACTOR, - "COUNT", + {GEO_NODE_CURVE_INTERPOLATE_FACTOR, + "FACTOR", 0, - "Count", + "Factor", "Choose sample points on the curve based on the portion of the total length"}, - {GEO_NODE_CURVE_SAMPLE_LENGTH, + {GEO_NODE_CURVE_INTERPOLATE_LENGTH, "LENGTH", 0, "Length", - "Choose sample points on the curve based on the assumulated length at that point"}, + "Choose sample points on the curve based on the accumulated length at that point"}, {0, NULL, 0, NULL, NULL}, }; @@ -10017,7 +10017,7 @@ static void def_geo_curve_sample(StructRNA *srna) prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE); RNA_def_property_enum_items(prop, mode_items); - RNA_def_property_ui_text(prop, "Mode", "How to specify the amount of samples"); + RNA_def_property_ui_text(prop, "Mode", "How to specify the sample positions on the curve"); RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); } |