Fixed bug in GridDialogModule that sends infinite Dialog messages.

Added ScheduleFullUpdate to llSetObjectName, so that the property change is captured by sync module.
dsg
Huaiyu (Kitty) Liu 2011-05-31 12:54:22 -07:00
parent dc572c770c
commit 0be7f9d804
2 changed files with 4 additions and 1 deletions

View File

@ -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);
}

View File

@ -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()