Skip to content
Snippets Groups Projects
Commit 94fde578 authored by Loren Shih's avatar Loren Shih
Browse files

EXT-8135 FIXED Textures blurry when in Appearance Edit mode

Trivial fix to correct for wrong debug message printed out due to use of wrong timer.
parent 020b1562
No related branches found
No related tags found
No related merge requests found
...@@ -536,10 +536,10 @@ void LLTexLayerSetBuffer::doUpload() ...@@ -536,10 +536,10 @@ void LLTexLayerSetBuffer::doUpload()
// Print out notification that we uploaded this texture. // Print out notification that we uploaded this texture.
if (gSavedSettings.getBOOL("DebugAvatarRezTime")) if (gSavedSettings.getBOOL("DebugAvatarRezTime"))
{ {
std::string lod_str = highest_lod ? "HighRes" : "LowRes"; const std::string lod_str = highest_lod ? "HighRes" : "LowRes";
LLSD args; LLSD args;
args["EXISTENCE"] = llformat("%d",(U32)mTexLayerSet->getAvatar()->debugGetExistenceTimeElapsedF32()); args["EXISTENCE"] = llformat("%d",(U32)mTexLayerSet->getAvatar()->debugGetExistenceTimeElapsedF32());
args["TIME"] = llformat("%d",(U32)mNeedsUpdateTimer.getElapsedTimeF32()); args["TIME"] = llformat("%d",(U32)mNeedsUploadTimer.getElapsedTimeF32());
args["BODYREGION"] = mTexLayerSet->getBodyRegionName(); args["BODYREGION"] = mTexLayerSet->getBodyRegionName();
args["RESOLUTION"] = lod_str; args["RESOLUTION"] = lod_str;
args["ACTION"] = "uploaded"; args["ACTION"] = "uploaded";
...@@ -587,10 +587,10 @@ void LLTexLayerSetBuffer::doUpdate() ...@@ -587,10 +587,10 @@ void LLTexLayerSetBuffer::doUpdate()
if (gSavedSettings.getBOOL("DebugAvatarRezTime")) if (gSavedSettings.getBOOL("DebugAvatarRezTime"))
{ {
const BOOL highest_lod = mTexLayerSet->isLocalTextureDataFinal(); const BOOL highest_lod = mTexLayerSet->isLocalTextureDataFinal();
std::string lod_str = highest_lod ? "HighRes" : "LowRes"; const std::string lod_str = highest_lod ? "HighRes" : "LowRes";
LLSD args; LLSD args;
args["EXISTENCE"] = llformat("%d",(U32)mTexLayerSet->getAvatar()->debugGetExistenceTimeElapsedF32()); args["EXISTENCE"] = llformat("%d",(U32)mTexLayerSet->getAvatar()->debugGetExistenceTimeElapsedF32());
args["TIME"] = llformat("%d",(U32)mNeedsUploadTimer.getElapsedTimeF32()); args["TIME"] = llformat("%d",(U32)mNeedsUpdateTimer.getElapsedTimeF32());
args["BODYREGION"] = mTexLayerSet->getBodyRegionName(); args["BODYREGION"] = mTexLayerSet->getBodyRegionName();
args["RESOLUTION"] = lod_str; args["RESOLUTION"] = lod_str;
args["ACTION"] = "locally updated"; args["ACTION"] = "locally updated";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment