aboutsummaryrefslogtreecommitdiff
path: root/src/poser_general_optimizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/poser_general_optimizer.c')
-rw-r--r--src/poser_general_optimizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poser_general_optimizer.c b/src/poser_general_optimizer.c
index 6f181a3..4894ce8 100644
--- a/src/poser_general_optimizer.c
+++ b/src/poser_general_optimizer.c
@@ -7,7 +7,7 @@
STATIC_CONFIG_ITEM( CONFIG_MAX_ERROR, "max-error", 'f', "Maximum error permitted by poser_general_optimizer", .0001 );
STATIC_CONFIG_ITEM( CONFIG_FAIL_TO_RESET, "failures-to-reset", 'i', "Failures needed before seed poser is re-run", 1 );
-STATIC_CONFIG_ITEM( CONFIG_SUC_TO_RESET, "successes-to-reset", 'i', "[TODO: I don't know what this does]", -1 );
+STATIC_CONFIG_ITEM( CONFIG_SUC_TO_RESET, "successes-to-reset", 'i', "Reset periodically even if there were no failures", -1 );
STATIC_CONFIG_ITEM( CONFIG_SEED_POSER, "seed-poser", 's', "Poser to be used to seed optimizer", "PoserEPNP" );
void *GetDriver(const char *name);
@@ -21,7 +21,7 @@ void general_optimizer_data_init(GeneralOptimizerData *d, SurviveObject *so) {
survive_attach_configi( ctx, "failures-to-reset", &d->failures_to_reset );
survive_attach_configi( ctx, "successes-to-reset", &d->successes_to_reset );
- const char *subposer = survive_configs(ctx, "seed-poser", SC_GET, 0 );
+ const char *subposer = survive_configs(ctx, "seed-poser", SC_GET, "PoserEPNP");
d->seed_poser = (PoserCB)GetDriver(subposer);
SV_INFO("Initializing general optimizer:");