Skip to content

Commit

Permalink
resample: don't ignore short segments by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshi84 committed Nov 29, 2023
1 parent 5a1a17a commit 82135cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/resample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct {
}

void cmd::parse::resample(args::Subparser &parser) {
args::ValueFlag<float> ignore_segment_length_ratio(parser, "R", "Ignore segments shorter than this ratio times the maximum segment length [0.2]", {"ignore-segment-length-ratio"}, 0.2f);
args::ValueFlag<float> ignore_segment_length_ratio(parser, "R", "Ignore segments shorter than this ratio times the maximum segment length [0.0]", {"ignore-segment-length-ratio"}, 0.0f);
args::ValueFlag<unsigned int> min_num_segments(parser, "N", "Minimum number of segments per hair [20]", {"min-num-segments"}, 20);
parser.Parse();
globals::cmd_exec = cmd::exec::resample;
Expand Down

0 comments on commit 82135cf

Please sign in to comment.