mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Eliminate pointless checks of SOG.RootPart != null
It's never possible for SOG to have no RootPart, except in the first few picosends of the big bang when it's pulled from region persistence or deserialized
This commit is contained in:
@@ -191,10 +191,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
if (part == null)
|
||||
return;
|
||||
|
||||
// The prim is in the process of being deleted.
|
||||
if (null == part.ParentGroup.RootPart)
|
||||
return;
|
||||
|
||||
// A deselect packet contains all the local prims being deselected. However, since selection is still
|
||||
// group based we only want the root prim to trigger a full update - otherwise on objects with many prims
|
||||
// we end up sending many duplicate ObjectUpdates
|
||||
|
||||
Reference in New Issue
Block a user