mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
mantis 9135: avoid null ref
This commit is contained in:
@@ -541,7 +541,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||
if (texture.IsZero())
|
||||
return;
|
||||
|
||||
if((remoteClient.ViewerFlags & ViewerFlags.TPBR) != 0)
|
||||
if(remoteClient is not null && (remoteClient.ViewerFlags & ViewerFlags.TPBR) != 0)
|
||||
{
|
||||
switch (level)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user