aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index b5beffc..a59f63f 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -3357,7 +3357,7 @@ Console.WriteLine(" JointCreateFixed");
3357 3357
3358 private void MeshAssetReceived(AssetBase asset) 3358 private void MeshAssetReceived(AssetBase asset)
3359 { 3359 {
3360 if (asset.Data != null && asset.Data.Length > 0) 3360 if (asset != null && asset.Data != null && asset.Data.Length > 0)
3361 { 3361 {
3362 if (!_pbs.SculptEntry) 3362 if (!_pbs.SculptEntry)
3363 return; 3363 return;
@@ -3370,6 +3370,12 @@ Console.WriteLine(" JointCreateFixed");
3370 m_taintshape = true; 3370 m_taintshape = true;
3371 _parent_scene.AddPhysicsActorTaint(this); 3371 _parent_scene.AddPhysicsActorTaint(this);
3372 } 3372 }
3373 else
3374 {
3375 m_log.WarnFormat(
3376 "[ODE PRIM]: Could not get mesh/sculpt asset {0} for {1} at {2} in {3}",
3377 _pbs.SculptTexture, Name, _position, _parent_scene.Name);
3378 }
3373 } 3379 }
3374 } 3380 }
3375} 3381}