diff --git a/indra/newview/fsfloatervramusage.cpp b/indra/newview/fsfloatervramusage.cpp index f808a57a65..7f55295038 100644 --- a/indra/newview/fsfloatervramusage.cpp +++ b/indra/newview/fsfloatervramusage.cpp @@ -333,7 +333,7 @@ S32 FSFloaterVRAMUsage::calcVBOEntrySize( LLVertexBuffer *aVBO ) void FSFloaterVRAMUsage::onProperties( LLSelectNode const *aProps ) { - if( !aProps && !aProps->getObject() ) + if( !aProps || !aProps->getObject() ) return; LLUUID id = aProps->getObject()->getID();