Durr, missed a line when adding attached light muting. Clobbered when diffing. Incrementing in a for loop is kinda important! Our handling in this function differes from LL in the firstplace because they are performing iteration on an iterator that can be invalid after the erase.

This commit is contained in:
Shyotl
2012-10-22 03:17:33 -05:00
parent 7dea357f4c
commit 5b4b9fd169

View File

@@ -1467,6 +1467,7 @@ void LLPipeline::removeMutedAVsLights(LLVOAvatar* muted_avatar)
gPipeline.mLights.erase(iter->drawable);
gPipeline.mNearbyLights.erase(iter++);
}
else ++iter;
}
}