diff options
Diffstat (limited to 'qfunctionconfigurator/functionconfig.cpp')
-rw-r--r-- | qfunctionconfigurator/functionconfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp index b93a4cbf..594607ff 100644 --- a/qfunctionconfigurator/functionconfig.cpp +++ b/qfunctionconfigurator/functionconfig.cpp @@ -77,6 +77,7 @@ void Map::reload() { data = std::vector<float>(value_count); const int mult = precision(); + const int mult_ = mult * 30; const int sz = data.size(); @@ -103,7 +104,6 @@ void Map::reload() { const float p0_y = p0.y(), p1_y = p1.y(), p2_y = p2.y(), p3_y = p3.y(); // multiplier helps fill in all the x's needed - const int mult_ = mult * 30; const int end = std::min<int>(sz, p2.x() * mult_); const int start = p1.x() * mult; |