Add preservation of running state of scripts when drag-copying.

This commit is contained in:
Melanie
2012-07-01 18:30:59 +01:00
parent 1926de5a05
commit d32cf21576
4 changed files with 62 additions and 2 deletions

View File

@@ -73,6 +73,9 @@ namespace OpenSim.Framework
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 {
return _assetID;
@@ -350,6 +353,15 @@ namespace OpenSim.Framework
}
}
public bool ScriptRunning {
get {
return _scriptRunning;
}
set {
_scriptRunning = value;
}
}
// See ICloneable
#region ICloneable Members