mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 08:56:36 +02:00
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:
parent
1c1807a80c
commit
55524ec815
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue