aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-08 23:13:59 +0000
committerMelanie Thielker2008-09-08 23:13:59 +0000
commit6ca7afabca74d80a2a260cb2c79a6a1f964af961 (patch)
tree5adfe5146c521be81eccd4aedba84816c23e47f8 /OpenSim/Region/Environment
parentCorrect state handling and state event masks. Prims will now show (diff)
downloadopensim-SC_OLD-6ca7afabca74d80a2a260cb2c79a6a1f964af961.zip
opensim-SC_OLD-6ca7afabca74d80a2a260cb2c79a6a1f964af961.tar.gz
opensim-SC_OLD-6ca7afabca74d80a2a260cb2c79a6a1f964af961.tar.bz2
opensim-SC_OLD-6ca7afabca74d80a2a260cb2c79a6a1f964af961.tar.xz
Remove casting nastiness in LSL_Api
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index 2beb9bb..26e924f 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
@@ -329,6 +329,10 @@ namespace OpenSim.Region.Environment.Scenes
329 /// </param> 329 /// </param>
330 protected void AddInventoryItem(string name, TaskInventoryItem item) 330 protected void AddInventoryItem(string name, TaskInventoryItem item)
331 { 331 {
332 name = FindAvailableInventoryName(name);
333 if (name == String.Empty)
334 return;
335
332 item.ParentID = UUID; 336 item.ParentID = UUID;
333 item.ParentPartID = UUID; 337 item.ParentPartID = UUID;
334 338