diff options
author | UbitUmarov | 2016-08-28 04:43:44 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-28 04:43:44 +0100 |
commit | 03dba18bb6e5428ccd4970aa66c4a96a8220bf15 (patch) | |
tree | df9501ad9e133e64ea8d20cc1a94676ca69369c2 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | missing file (diff) | |
download | opensim-SC-03dba18bb6e5428ccd4970aa66c4a96a8220bf15.zip opensim-SC-03dba18bb6e5428ccd4970aa66c4a96a8220bf15.tar.gz opensim-SC-03dba18bb6e5428ccd4970aa66c4a96a8220bf15.tar.bz2 opensim-SC-03dba18bb6e5428ccd4970aa66c4a96a8220bf15.tar.xz |
let mouse steer work on crossings; some cleanup
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index f7f1835..dd20a2f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2162,13 +2162,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2162 | { | 2162 | { |
2163 | AddToPhysics(isPhysical, isPhantom, building, isPhysical); | 2163 | AddToPhysics(isPhysical, isPhantom, building, isPhysical); |
2164 | UpdatePhysicsSubscribedEvents(); // not sure if appliable here | 2164 | UpdatePhysicsSubscribedEvents(); // not sure if appliable here |
2165 | if(!_VolumeDetectActive && | ||
2166 | m_vehicleParams != null && | ||
2167 | m_vehicleParams.CameraDecoupled && | ||
2168 | m_localId == ParentGroup.RootPart.LocalId) | ||
2169 | AddFlag(PrimFlags.CameraDecoupled); | ||
2170 | else | ||
2171 | RemFlag(PrimFlags.CameraDecoupled); | ||
2172 | } | 2165 | } |
2173 | else | 2166 | else |
2174 | { | 2167 | { |
@@ -4673,11 +4666,6 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter | |||
4673 | 4666 | ||
4674 | if (ParentGroup != null) | 4667 | if (ParentGroup != null) |
4675 | { | 4668 | { |
4676 | if(UsePhysics && !SetPhantom && m_localId == ParentGroup.RootPart.LocalId && | ||
4677 | m_vehicleParams != null && m_vehicleParams.CameraDecoupled) | ||
4678 | AddFlag(PrimFlags.CameraDecoupled); | ||
4679 | else | ||
4680 | RemFlag(PrimFlags.CameraDecoupled); | ||
4681 | ParentGroup.HasGroupChanged = true; | 4669 | ParentGroup.HasGroupChanged = true; |
4682 | ScheduleFullUpdate(); | 4670 | ScheduleFullUpdate(); |
4683 | } | 4671 | } |