aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-09-19 19:40:13 +0100
committerUbitUmarov2016-09-19 19:40:13 +0100
commit874ba6b363895fae6285ce80d958c19fb3282481 (patch)
tree03d353b2427f6b54964227748cd8131b21422b06
parentchange CreatorIdentification set code (diff)
downloadopensim-SC-874ba6b363895fae6285ce80d958c19fb3282481.zip
opensim-SC-874ba6b363895fae6285ce80d958c19fb3282481.tar.gz
opensim-SC-874ba6b363895fae6285ce80d958c19fb3282481.tar.bz2
opensim-SC-874ba6b363895fae6285ce80d958c19fb3282481.tar.xz
avoid a null ref
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
index e77f0aa..e65f860 100644
--- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
@@ -768,7 +768,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
768 else 768 else
769 so = m_scene.GetSceneObjectGroup(localId); 769 so = m_scene.GetSceneObjectGroup(localId);
770 770
771 if (!so.IsAttachment) 771 if (so!= null && !so.IsAttachment)
772 deletes.Add(so); 772 deletes.Add(so);
773 773
774 // if (deletes.Count == 0) 774 // if (deletes.Count == 0)