diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/ConfigurationMember.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Framework/ConfigurationMember.cs b/OpenSim/Framework/ConfigurationMember.cs index 9fdb046..fc3bf23 100644 --- a/OpenSim/Framework/ConfigurationMember.cs +++ b/OpenSim/Framework/ConfigurationMember.cs | |||
@@ -206,7 +206,11 @@ namespace OpenSim.Framework | |||
206 | } | 206 | } |
207 | catch (XmlException e) | 207 | catch (XmlException e) |
208 | { | 208 | { |
209 | m_log.Error("Error loading " + configurationFilename + ": " + e.ToString()); | 209 | { |
210 | m_log.WarnFormat("[CONFIG] Not using {0}: {1}", | ||
211 | configurationFilename, | ||
212 | e.Message.ToString()); | ||
213 | //m_log.Error("Error loading " + configurationFilename + ": " + e.ToString()); | ||
210 | useFile = false; | 214 | useFile = false; |
211 | } | 215 | } |
212 | } | 216 | } |
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 27601d2..bf6025e 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -553,7 +553,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
553 | 553 | ||
554 | if (ParentGroup != null && ParentGroup.RootPart != null) | 554 | if (ParentGroup != null && ParentGroup.RootPart != null) |
555 | { | 555 | { |
556 | if (_parentID != 0) | 556 | if (_parentID != 0 && PhysActor != null) |
557 | { | 557 | { |
558 | Vector3 resultingposition = GetWorldPosition(); | 558 | Vector3 resultingposition = GetWorldPosition(); |
559 | PhysActor.Position = new PhysicsVector(resultingposition.X, resultingposition.Y, resultingposition.Z); | 559 | PhysActor.Position = new PhysicsVector(resultingposition.X, resultingposition.Y, resultingposition.Z); |