summaryrefslogtreecommitdiff
path: root/indra/newview/llgltfmateriallist.cpp
diff options
context:
space:
mode:
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;