summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-22 15:55:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-22 15:55:31 +0200
commit65bad699fc8472b49189a412f730409eb2e96311 (patch)
tree748a9ba239427447dc1cbf93815ed182f574998a /ftnoir_tracker_pt
parentca510926a258e0e332deb1dce427f4ff629c9348 (diff)
all: implicitly cancel on form dialog close
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h b/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
index 57752ed6..f3b21b50 100644
--- a/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
+++ b/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
@@ -13,9 +13,8 @@
#include "opentrack/options.hpp"
using namespace options;
-struct settings
+struct settings : opts
{
- pbundle b;
value<int> cam_index,
cam_res_x,
cam_res_y,
@@ -38,7 +37,7 @@ struct settings
value<bool> dynamic_pose;
settings() :
- b(bundle("tracker-pt")),
+ opts("tracker-pt"),
cam_index(b, "camera-index", 0),
cam_res_x(b, "camera-res-width", 640),
cam_res_y(b, "camera-res-height", 480),