Commit f1ed206c authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Keep more node details for strings on level 17

parent 3e8d79cd
......@@ -68,6 +68,9 @@ qint64 NodeReducer::remainingNodes() const
qreal NodeReducer::epsilonForString(int detailLevel) const
{
if (detailLevel >= 17) {
return 0.25;
}
int const factor = 1 << (qAbs(detailLevel-12));
return detailLevel < 12 ? 30.0 * factor : 30.0 / factor;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment