aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 17d678d..c887b78 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1156,13 +1156,10 @@ namespace OpenSim.Region.Environment.Scenes
1156 Vector3 newimpulse = AXimpulsei * AXgrot; 1156 Vector3 newimpulse = AXimpulsei * AXgrot;
1157 impulse = new PhysicsVector(newimpulse.X, newimpulse.Y, newimpulse.Z); 1157 impulse = new PhysicsVector(newimpulse.X, newimpulse.Y, newimpulse.Z);
1158 } 1158 }
1159 else
1160 {
1161 1159
1162 if (m_parentGroup != null) 1160 if (m_parentGroup != null)
1163 { 1161 {
1164 m_parentGroup.applyImpulse(impulse); 1162 m_parentGroup.applyImpulse(impulse);
1165 }
1166 } 1163 }
1167 } 1164 }
1168 1165