aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 9feef4f..b0e689c 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -6341,7 +6341,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6341 6341
6342 m_thisAgentUpdateArgs.lastpacketSequence = seq; 6342 m_thisAgentUpdateArgs.lastpacketSequence = seq;
6343 6343
6344 OnPreAgentUpdate?.Invoke(this, m_thisAgentUpdateArgs); 6344 if (OnPreAgentUpdate != null)
6345 OnPreAgentUpdate(this, m_thisAgentUpdateArgs);
6345 6346
6346 bool movement; 6347 bool movement;
6347 bool camera; 6348 bool camera;
@@ -6370,7 +6371,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6370 6371
6371 m_thisAgentUpdateArgs.NeedsCameraCollision = !camera; 6372 m_thisAgentUpdateArgs.NeedsCameraCollision = !camera;
6372 6373
6373 OnAgentUpdate?.Invoke(this, m_thisAgentUpdateArgs); 6374 if (OnAgentUpdate != null)
6375 OnAgentUpdate(this, m_thisAgentUpdateArgs);
6374 } 6376 }
6375 6377
6376 // Was there a significant camera(s) change? 6378 // Was there a significant camera(s) change?
@@ -6383,7 +6385,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6383 6385
6384 m_thisAgentUpdateArgs.NeedsCameraCollision = true; 6386 m_thisAgentUpdateArgs.NeedsCameraCollision = true;
6385 6387
6386 OnAgentCameraUpdate?.Invoke(this, m_thisAgentUpdateArgs); 6388 if (OnAgentCameraUpdate != null)
6389 OnAgentCameraUpdate(this, m_thisAgentUpdateArgs);
6387 } 6390 }
6388 6391
6389 if(movement && camera) 6392 if(movement && camera)