diff options
Bug fix in prim crossing: making it clear when the local object needs to be cloned (regions on the same instance) and when it doesn't (regions on different instances).
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Communications/REST/RESTInterregionComms.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/CoreModules/Communications/REST/RESTInterregionComms.cs index afc3441..f533553 100644 --- a/OpenSim/Region/CoreModules/Communications/REST/RESTInterregionComms.cs +++ b/OpenSim/Region/CoreModules/Communications/REST/RESTInterregionComms.cs | |||
@@ -214,10 +214,10 @@ namespace OpenSim.Region.CoreModules.Communications.REST | |||
214 | * Object-related communications | 214 | * Object-related communications |
215 | */ | 215 | */ |
216 | 216 | ||
217 | public bool SendCreateObject(ulong regionHandle, ISceneObject sog) | 217 | public bool SendCreateObject(ulong regionHandle, ISceneObject sog, bool isLocalCall) |
218 | { | 218 | { |
219 | // Try local first | 219 | // Try local first |
220 | if (m_localBackend.SendCreateObject(regionHandle, sog)) | 220 | if (m_localBackend.SendCreateObject(regionHandle, sog, true)) |
221 | { | 221 | { |
222 | //m_log.Debug("[REST COMMS]: LocalBackEnd SendCreateObject succeeded"); | 222 | //m_log.Debug("[REST COMMS]: LocalBackEnd SendCreateObject succeeded"); |
223 | return true; | 223 | return true; |
@@ -865,7 +865,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST | |||
865 | } | 865 | } |
866 | } | 866 | } |
867 | // This is the meaning of POST object | 867 | // This is the meaning of POST object |
868 | bool result = m_localBackend.SendCreateObject(regionhandle, sog); | 868 | bool result = m_localBackend.SendCreateObject(regionhandle, sog, false); |
869 | 869 | ||
870 | responsedata["int_response_code"] = 200; | 870 | responsedata["int_response_code"] = 200; |
871 | responsedata["str_response_string"] = result.ToString(); | 871 | responsedata["str_response_string"] = result.ToString(); |