diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-05-17 13:41:05 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-05-17 13:41:05 -0500 |
commit | a2e418f250c49de9aba943a62f92189fcef6220a (patch) | |
tree | 3993a02eff77b05f280f6e474c3c68dab624a3b1 /indra/llappearance/lllocaltextureobject.cpp | |
parent | 6f5f16e0319bde183534a779839299dca7fe50ab (diff) | |
parent | 2f44377b3e98d60f1bd5b1a495c9a3aab9cfa450 (diff) |
Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559
Diffstat (limited to 'indra/llappearance/lllocaltextureobject.cpp')
-rw-r--r-- | indra/llappearance/lllocaltextureobject.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llappearance/lllocaltextureobject.cpp b/indra/llappearance/lllocaltextureobject.cpp index 0481326e9e..ab50db3a5a 100644 --- a/indra/llappearance/lllocaltextureobject.cpp +++ b/indra/llappearance/lllocaltextureobject.cpp @@ -96,9 +96,8 @@ LLTexLayer* LLLocalTextureObject::getTexLayer(U32 index) const LLTexLayer* LLLocalTextureObject::getTexLayer(const std::string &name) { - for( tex_layer_vec_t::iterator iter = mTexLayers.begin(); iter != mTexLayers.end(); iter++) + for(LLTexLayer* layer : mTexLayers) { - LLTexLayer *layer = *iter; if (layer->getName().compare(name) == 0) { return layer; |