Commit 62e8f86f authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

gui: fix the qss[1,2,3]_cross input variable

The input widget does not affect the default_* variable used to
initialize or reinitialize models. This patch fix the variable.

(closes:#27).
parent 50b260db
Pipeline #28122 passed with stage
in 1 minute and 34 seconds
......@@ -1915,21 +1915,21 @@ static void
show_dynamics_inputs(qss1_cross& dyn)
{
ImGui::InputDouble("threshold", &dyn.default_threshold);
ImGui::Checkbox("up detection", &dyn.detect_up);
ImGui::Checkbox("up detection", &dyn.default_detect_up);
}
static void
show_dynamics_inputs(qss2_cross& dyn)
{
ImGui::InputDouble("threshold", &dyn.default_threshold);
ImGui::Checkbox("up detection", &dyn.detect_up);
ImGui::Checkbox("up detection", &dyn.default_detect_up);
}
static void
show_dynamics_inputs(qss3_cross& dyn)
{
ImGui::InputDouble("threshold", &dyn.default_threshold);
ImGui::Checkbox("up detection", &dyn.detect_up);
ImGui::Checkbox("up detection", &dyn.default_detect_up);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment