diff options
author | Melanie | 2012-10-31 00:13:33 +0000 |
---|---|---|
committer | Melanie | 2012-10-31 00:13:33 +0000 |
commit | 28a4ea73ea6e96f27ce8143b1d594658b8fcc43e (patch) | |
tree | f65ca752e2fca2e31c3b16537ad8e2e0b593168f /OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |
parent | Merge branch 'avination' into careminster (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-28a4ea73ea6e96f27ce8143b1d594658b8fcc43e.zip opensim-SC-28a4ea73ea6e96f27ce8143b1d594658b8fcc43e.tar.gz opensim-SC-28a4ea73ea6e96f27ce8143b1d594658b8fcc43e.tar.bz2 opensim-SC-28a4ea73ea6e96f27ce8143b1d594658b8fcc43e.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Framework/ChildAgentDataUpdate.cs
OpenSim/Region/Framework/Scenes/ScenePresence.cs
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 8 |
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 | } |