diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-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 | } |