aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-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 5b49e3b..5a0b8d1 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -3351,7 +3351,7 @@ Console.WriteLine(" JointCreateFixed");
3351 3351
3352 private void MeshAssetReceived(AssetBase asset) 3352 private void MeshAssetReceived(AssetBase asset)
3353 { 3353 {
3354 if (asset.Data != null && asset.Data.Length > 0) 3354 if (asset != null && asset.Data != null && asset.Data.Length > 0)
3355 { 3355 {
3356 if (!_pbs.SculptEntry) 3356 if (!_pbs.SculptEntry)
3357 return; 3357 return;
@@ -3364,6 +3364,12 @@ Console.WriteLine(" JointCreateFixed");
3364 m_taintshape = true; 3364 m_taintshape = true;
3365 _parent_scene.AddPhysicsActorTaint(this); 3365 _parent_scene.AddPhysicsActorTaint(this);
3366 } 3366 }
3367 else
3368 {
3369 m_log.WarnFormat(
3370 "[ODE PRIM]: Could not get mesh/sculpt asset {0} for {1} at {2} in {3}",
3371 _pbs.SculptTexture, Name, _position, _parent_scene.Name);
3372 }
3367 } 3373 }
3368 } 3374 }
3369} \ No newline at end of file 3375} \ No newline at end of file