From 1e1d296ef44df8c22e1360bb912382544a3171de Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 31 Jan 2019 10:27:21 +0000 Subject: do update physics script events on link ( this does need another cleanup one day --- OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 8a3ff71..a7d1809 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs @@ -4672,7 +4672,10 @@ namespace OpenSim.Region.Framework.Scenes bool wasVD = VolumeDetectActive; if ((UsePhysics == wasUsingPhysics) && (wasTemporary == SetTemporary) && (wasPhantom == SetPhantom) && (SetVD == wasVD)) + { + UpdatePhysicsSubscribedEvents(); return; + } VolumeDetectActive = SetVD; -- cgit v1.1