mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Change the way attachments are persisted. Editing a worn attachment will now
save properly, as will the results of a resizer script working. Attachment positions are no longer saved on each move, but instead are saved once on logout. Attachment script states are saved as part of the attachment now when detaching.
This commit is contained in:
@@ -162,6 +162,11 @@ namespace OpenSim.Server.Handlers.Simulation
|
||||
return;
|
||||
}
|
||||
|
||||
if (args.ContainsKey("modified"))
|
||||
sog.HasGroupChanged = args["modified"].AsBoolean();
|
||||
else
|
||||
sog.HasGroupChanged = false;
|
||||
|
||||
if ((args["state"] != null) && s.AllowScriptCrossings)
|
||||
{
|
||||
stateXmlStr = args["state"].AsString();
|
||||
@@ -243,4 +248,4 @@ namespace OpenSim.Server.Handlers.Simulation
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user