Semicolon at end of for loop was making sure nothing ever got done.

The whole methode is questionable in doing nothing and it seems there was a deliberate change
that made sure it does nothing. I am not sure what this method really is supposed to do, thus I did opt
for the most basic version of "do nothing" like it was before.

(cherry picked from commit 1c1a93e42e209e959f09ec46ca414a8936f4ac20)
master
Nicky 2022-04-13 22:35:21 +02:00 committed by Nat Goodspeed
parent 6c663d7331
commit 46824ae0e8
1 changed files with 0 additions and 12 deletions

View File

@ -478,18 +478,6 @@ void LLTexLayerSet::asLLSD(LLSD& sd) const
{
sd["visible"] = LLSD::Boolean(isVisible());
LLSD layer_list_sd;
layer_list_t::const_iterator layer_iter = mLayerList.begin();
layer_list_t::const_iterator layer_end = mLayerList.end();
for(; layer_iter != layer_end; ++layer_iter);
{
LLSD layer_sd;
//LLTexLayerInterface* layer = (*layer_iter);
//if (layer)
//{
// layer->asLLSD(layer_sd);
//}
layer_list_sd.append(layer_sd);
}
LLSD mask_list_sd;
LLSD info_sd;
sd["layers"] = layer_list_sd;