mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Thank you kindly, Tiffany for a patch that helps:
Drag copy a prim and the prim that is moved, persists. The prim that is created does not survive a restart.
This commit is contained in:
@@ -1078,11 +1078,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
// don't backup while it's selected or you're asking for changes mid stream.
|
||||
if (HasGroupChanged)
|
||||
{
|
||||
// FIXME: Disabling this check temporarily since it seems that in some (as yet unidentified)
|
||||
// circumstances with shift copy, we never register that some prims have been deselected, even though
|
||||
// they are no longer selected in the client.
|
||||
// if (!IsSelected)
|
||||
// {
|
||||
if ((!IsSelected) && (RootPart != null))
|
||||
{
|
||||
m_log.InfoFormat("[SCENE OBJECT GROUP]: Storing object {0}", UUID);
|
||||
|
||||
SceneObjectGroup backup_group = Copy(OwnerID, GroupID, false);
|
||||
@@ -1093,7 +1090,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
backup_group.ForEachPart(delegate(SceneObjectPart part) { part.ProcessInventoryBackup(datastore); });
|
||||
|
||||
backup_group = null;
|
||||
// }
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// m_log.DebugFormat(
|
||||
|
||||
Reference in New Issue
Block a user