diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 22:55:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 23:05:21 +0200 |
commit | cf57e64fab562b23d40df4d98e25dc9a0cf6aa9b (patch) | |
tree | b4f633b7875f4c393e7bdda10239ffb0e6af6dba /spline/spline-widget.hpp | |
parent | 53902262040c77423591ea57ae43ab38cda655dc (diff) |
spline: don't use cubic
Cubic shows incorrect values for control points close
to each other.
Diffstat (limited to 'spline/spline-widget.hpp')
-rw-r--r-- | spline/spline-widget.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/spline/spline-widget.hpp b/spline/spline-widget.hpp index 51c13056..2fa2a365 100644 --- a/spline/spline-widget.hpp +++ b/spline/spline-widget.hpp @@ -12,7 +12,6 @@ #include "spline.hpp" #include "api/plugin-api.hpp" #include "options/options.hpp" -using namespace options; #include "export.hpp" @@ -21,6 +20,10 @@ using namespace options; #include <QDebug> +namespace spline_detail { + +using namespace options; + class OTR_SPLINE_EXPORT spline_widget final : public QWidget { Q_OBJECT @@ -97,3 +100,7 @@ private: static constexpr inline int point_size = 4; }; + +} // ns spline_detail + +using spline_widget = spline_detail::spline_widget; |