mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Prevent a null ref
This commit is contained in:
@@ -84,6 +84,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
while (m_pendingObjects != null && m_pendingObjects.Count > 0)
|
||||
{
|
||||
SceneObjectGroup g = m_pendingObjects.Dequeue();
|
||||
// Yes, this can really happen
|
||||
if (g == null)
|
||||
continue;
|
||||
|
||||
// This is where we should check for draw distance
|
||||
// do culling and stuff. Problem with that is that until
|
||||
|
||||
Reference in New Issue
Block a user