mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Preserve the script running flag when copying an object.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user