LLModelStore::globalInstance()->releaseModel(m_llModelInfo);// release back into the store
LLModelStore::globalInstance()->releaseModel(m_llModelInfo);// release back into the store
m_llModelInfo=LLModelInfo();
m_llModelInfo=LLModelInfo();
emitmodelLoadingError(QString("Previous attempt to load model resulted in crash for `%1` most likely due to out of memory. You should either remove this model or decrease your system RAM by closing other applications.").arg(modelInfo.filename()));
emitmodelLoadingError(QString("Previous attempt to load model resulted in crash for `%1` most likely due to insufficient memory. You should either remove this model or decrease your system RAM by closing other applications.").arg(modelInfo.filename()));