diff options
author | UbitUmarov | 2018-12-28 21:26:07 +0000 |
---|---|---|
committer | UbitUmarov | 2018-12-28 21:26:07 +0000 |
commit | 616fa8dbee0fb71003ed8ff970ad84b3aaafae5e (patch) | |
tree | 8ed834c56677d1b78309b4024e71b3453370ce5f /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | remove silly double locking (diff) | |
download | opensim-SC-616fa8dbee0fb71003ed8ff970ad84b3aaafae5e.zip opensim-SC-616fa8dbee0fb71003ed8ff970ad84b3aaafae5e.tar.gz opensim-SC-616fa8dbee0fb71003ed8ff970ad84b3aaafae5e.tar.bz2 opensim-SC-616fa8dbee0fb71003ed8ff970ad84b3aaafae5e.tar.xz |
sog GetLinkNumber() forget avatars that did standup
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 9c3f166..b5c8cf2 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -5526,11 +5526,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
5526 | return -1; | 5526 | return -1; |
5527 | } | 5527 | } |
5528 | 5528 | ||
5529 | public void InvalidatePartsLinkMaps() | 5529 | public void InvalidatePartsLinkMaps(bool all = true) |
5530 | { | 5530 | { |
5531 | lock(m_partsNameToLinkMap) | 5531 | lock(m_partsNameToLinkMap) |
5532 | { | 5532 | { |
5533 | m_partsNameToLinkMap.Clear(); | 5533 | if(all) |
5534 | m_partsNameToLinkMap.Clear(); | ||
5534 | GetLinkNumber_lastname = String.Empty; | 5535 | GetLinkNumber_lastname = String.Empty; |
5535 | GetLinkNumber_lastnumber = -1; | 5536 | GetLinkNumber_lastnumber = -1; |
5536 | } | 5537 | } |