Preserve the script running flag when copying an object.

This commit is contained in:
Melanie
2011-01-08 16:44:28 +01:00
parent 1ab9cd0997
commit c271bbcc8a
4 changed files with 60 additions and 0 deletions

View File

@@ -124,6 +124,9 @@ namespace OpenSim.Framework
private UUID _oldID = UUID.Zero;
private bool _ownerChanged = false;
// This used ONLY during copy. It can't be relied on at other times!
private bool _scriptRunning = true;
public UUID AssetID {
get {
@@ -387,6 +390,15 @@ namespace OpenSim.Framework
}
}
public bool ScriptRunning {
get {
return _scriptRunning;
}
set {
_scriptRunning = value;
}
}
// See ICloneable
#region ICloneable Members