summaryrefslogtreecommitdiff
path: root/indra/newview/llgltfmateriallist.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-10-20 13:55:42 -0500
committerDave Parks <davep@lindenlab.com>2022-10-20 13:55:42 -0500
commit40695bbd316ceb15db2c3eb203cbe35188a00aa9 (patch)
treed3a78dd1f42d0cc66bedc5061d9da726ec95577a /indra/newview/llgltfmateriallist.cpp
parent8741c05cc10d3f39f272bb4739e7313309539d07 (diff)
SL-18105 Fix for overrides not showing until a forced mesh update.
Diffstat (limited to 'indra/newview/llgltfmateriallist.cpp')
-rw-r--r--indra/newview/llgltfmateriallist.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llgltfmateriallist.cpp b/indra/newview/llgltfmateriallist.cpp
index 86f4faa9d0..0a104d1db5 100644
--- a/indra/newview/llgltfmateriallist.cpp
+++ b/indra/newview/llgltfmateriallist.cpp
@@ -36,7 +36,6 @@
#include "llviewercontrol.h"
#include "llviewergenericmessage.h"
#include "llviewerobjectlist.h"
-#include "pipeline.h"
#include "tinygltf/tiny_gltf.h"
#include <strstream>
@@ -87,10 +86,7 @@ namespace
if(obj)
{
- if (obj->setTEGLTFMaterialOverride(side, override_data))
- {
- gPipeline.markTextured(obj->mDrawable);
- }
+ obj->setTEGLTFMaterialOverride(side, override_data);
}
LL_DEBUGS() << "successfully parsed override: " << override_data->asJSON() << LL_ENDL;