Set debug text lit time to 20 (again) and move 2 break statements out of comment to fix exception in debug

This commit is contained in:
dooglifeSF 2019-06-18 09:39:06 -07:00
parent 1c1807a80c
commit 55524ec815
2 changed files with 3 additions and 3 deletions

View file

@ -161,7 +161,7 @@ void AnimStats::updateStats(bool force) {
}
// figure out the grayScale color of this line.
const float LIT_TIME = 2.0f;
const float LIT_TIME = 20.0f;
const float FADE_OUT_TIME = 0.5f;
float grayScale = 0.0f;
float secondsElapsed = (float)(now - _animVarChangedTimers[key]) / (float)USECS_PER_SECOND;

View file

@ -159,15 +159,15 @@ std::map<QString, QString> AnimVariantMap::toDebugMap() const {
arg(QString::number(value.y, 'f', 3)).
arg(QString::number(value.z, 'f', 3)).
arg(QString::number(value.w, 'f', 3));
break;
*/
break;
}
case AnimVariant::Type::String:
// To prevent filling up anim stats, don't show string values
/*
result[pair.first] = pair.second.getString();
break;
*/
break;
default:
// invalid AnimVariant::Type
assert(false);