Fix other places when saving scripts or notecards in prim inventories where messages should be transient without an OK button
parent
a1e32b8437
commit
0767523834
|
@ -326,7 +326,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// Update item with new asset
|
// Update item with new asset
|
||||||
item.AssetID = asset.FullID;
|
item.AssetID = asset.FullID;
|
||||||
if (group.UpdateInventoryItem(item))
|
if (group.UpdateInventoryItem(item))
|
||||||
remoteClient.SendAgentAlertMessage("Script saved", false);
|
remoteClient.SendAlertMessage("Script saved");
|
||||||
|
|
||||||
part.SendPropertiesToClient(remoteClient);
|
part.SendPropertiesToClient(remoteClient);
|
||||||
|
|
||||||
|
@ -342,7 +342,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
remoteClient.SendAgentAlertMessage("Script saved", false);
|
remoteClient.SendAlertMessage("Script saved");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tell anyone managing scripts that a script has been reloaded/changed
|
// Tell anyone managing scripts that a script has been reloaded/changed
|
||||||
|
@ -1616,11 +1616,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
remoteClient, part, transactionID, currentItem);
|
remoteClient, part, transactionID, currentItem);
|
||||||
|
|
||||||
if ((InventoryType)itemInfo.InvType == InventoryType.Notecard)
|
if ((InventoryType)itemInfo.InvType == InventoryType.Notecard)
|
||||||
remoteClient.SendAgentAlertMessage("Notecard saved", false);
|
remoteClient.SendAlertMessage("Notecard saved");
|
||||||
else if ((InventoryType)itemInfo.InvType == InventoryType.LSL)
|
else if ((InventoryType)itemInfo.InvType == InventoryType.LSL)
|
||||||
remoteClient.SendAgentAlertMessage("Script saved", false);
|
remoteClient.SendAlertMessage("Script saved");
|
||||||
else
|
else
|
||||||
remoteClient.SendAgentAlertMessage("Item saved", false);
|
remoteClient.SendAlertMessage("Item saved");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Base ALWAYS has move
|
// Base ALWAYS has move
|
||||||
|
|
Loading…
Reference in New Issue