diff options
Diffstat (limited to 'qfunctionconfigurator')
-rw-r--r-- | qfunctionconfigurator/functionconfig.h | 2 | ||||
-rw-r--r-- | qfunctionconfigurator/qfunctionconfigurator.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/qfunctionconfigurator/functionconfig.h b/qfunctionconfigurator/functionconfig.h index 281007d6..d81711a7 100644 --- a/qfunctionconfigurator/functionconfig.h +++ b/qfunctionconfigurator/functionconfig.h @@ -16,7 +16,7 @@ #ifndef FUNCTION_CONFIG_H
#define FUNCTION_CONFIG_H
-#define MEMOIZE_PRECISION 400
+#define MEMOIZE_PRECISION 500
class FTNOIR_TRACKER_BASE_EXPORT FunctionConfig {
private:
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp index e143a536..5720ad23 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.cpp +++ b/qfunctionconfigurator/qfunctionconfigurator.cpp @@ -280,12 +280,12 @@ QPointF currentPoint; } - QPen pen(colBezier, 1.5, Qt::SolidLine); + QPen pen(colBezier, 1.2, Qt::SolidLine); prevPoint = graphicalizePoint( QPointF(0,0), "drawFunction lines" ); // Start at the Axis double max = maxInputEGU(); QPointF prev = graphicalizePoint(QPointF(0, 0)); - double step = 1 / (double) pixPerEGU_Input(); + double step = 1e-1 / (double) pixPerEGU_Input(); for (double i = 0; i < max; i += step) { double val = _config->getValue(i); QPointF cur = graphicalizePoint(QPointF(i, val)); |