diff options
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 5b49e3b..2637295 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; |