Skip to content
Snippets Groups Projects
Commit 262bad17 authored by Adrian Knobloch's avatar Adrian Knobloch
Browse files

Change to calculate with abs of current value

parent daec5b27
No related branches found
No related tags found
No related merge requests found
......@@ -1274,7 +1274,7 @@ void KinematicUnitWidgetController::highlightCriticalValues()
continue;
}
const float currentValue = it->second;
const float currentValue = std::fabs(it->second);
smoothedValue = 0.5f*currentValue + 0.5f*smoothedValue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment