Change LL_ERRS to LL_WARNS here, as this seems to be meant for debugging anyway; Also, fix a typo
parent
fb47a6394f
commit
4edc6d0adc
|
|
@ -476,12 +476,12 @@ void LLViewerPartSim::checkParticleCount(U32 size)
|
|||
{
|
||||
if(LLViewerPartSim::sParticleCount2 != LLViewerPartSim::sParticleCount)
|
||||
{
|
||||
LL_ERRS() << "sParticleCount: " << LLViewerPartSim::sParticleCount << " ; sParticleCount2: " << LLViewerPartSim::sParticleCount2 << LL_ENDL ;
|
||||
LL_WARNS() << "sParticleCount: " << LLViewerPartSim::sParticleCount << " ; sParticleCount2: " << LLViewerPartSim::sParticleCount2 << LL_ENDL ;
|
||||
}
|
||||
|
||||
if(size > (U32)LLViewerPartSim::sParticleCount2)
|
||||
{
|
||||
LL_ERRS() << "curren particle size: " << LLViewerPartSim::sParticleCount2 << " array size: " << size << LL_ENDL ;
|
||||
LL_WARNS() << "current particle size: " << LLViewerPartSim::sParticleCount2 << " array size: " << size << LL_ENDL ;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue