FIRE-14896; Don't crash if FS AO folder contains another folder with an empty name.
parent
217f337a86
commit
4a3494552c
|
|
@ -1039,6 +1039,13 @@ void AOEngine::update()
|
|||
{
|
||||
LLViewerInventoryCategory* currentCategory=categories->at(index);
|
||||
const std::string& setFolderName=currentCategory->getName();
|
||||
|
||||
if( setFolderName.empty())
|
||||
{
|
||||
LL_WARNS("AOEngine") << "Folder with emtpy name in AO folder" << LL_ENDL;
|
||||
continue;
|
||||
}
|
||||
|
||||
std::vector<std::string> params;
|
||||
LLStringUtil::getTokens(setFolderName,params,":");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue