Fixed bug in GridDialogModule that sends infinite Dialog messages.
Added ScheduleFullUpdate to llSetObjectName, so that the property change is captured by sync module.dsg
parent
dc572c770c
commit
0be7f9d804
|
@ -198,7 +198,7 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule
|
|||
msgdata["region_handle"] = 0;
|
||||
|
||||
bool imresult = doDialogSending(reginfo, msgdata);
|
||||
if (imresult)
|
||||
if (!imresult)
|
||||
{
|
||||
SendGridDialogViaXMLRPCAsync(avatarID, objectName, objectID, ownerFirstName, ownerLastName, message, textureID, ch, buttonlabels, prevRegionID);
|
||||
}
|
||||
|
|
|
@ -5413,6 +5413,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
m_host.Name = name!=null?name:String.Empty;
|
||||
|
||||
//DSG SYNC
|
||||
m_host.ScheduleFullUpdate(new List<SceneObjectPartSyncProperties>() { SceneObjectPartSyncProperties.Name });
|
||||
}
|
||||
|
||||
public LSL_String llGetDate()
|
||||
|
|
Loading…
Reference in New Issue