diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs index 7803209..8bdf084 100644 --- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs +++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs | |||
@@ -43,6 +43,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
43 | private UUID InventFolder = UUID.Zero; | 43 | private UUID InventFolder = UUID.Zero; |
44 | private sbyte invType = 0; | 44 | private sbyte invType = 0; |
45 | private bool m_createItem = false; | 45 | private bool m_createItem = false; |
46 | private uint m_createItemCallback = 0; | ||
46 | private string m_description = String.Empty; | 47 | private string m_description = String.Empty; |
47 | private bool m_dumpAssetToFile; | 48 | private bool m_dumpAssetToFile; |
48 | private bool m_finished = false; | 49 | private bool m_finished = false; |
@@ -148,7 +149,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
148 | m_finished = true; | 149 | m_finished = true; |
149 | if (m_createItem) | 150 | if (m_createItem) |
150 | { | 151 | { |
151 | DoCreateItem(0); | 152 | DoCreateItem(m_createItemCallback); |
152 | } | 153 | } |
153 | else if (m_storeLocal) | 154 | else if (m_storeLocal) |
154 | { | 155 | { |
@@ -205,6 +206,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
205 | else | 206 | else |
206 | { | 207 | { |
207 | m_createItem = true; //set flag so the inventory item is created when upload is complete | 208 | m_createItem = true; //set flag so the inventory item is created when upload is complete |
209 | m_createItemCallback = callbackID; | ||
208 | } | 210 | } |
209 | } | 211 | } |
210 | } | 212 | } |