aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie2011-01-08 16:44:28 +0100
committerMelanie2011-01-08 16:44:28 +0100
commitc271bbcc8af1549666f6a5299a4b9ab9cf1c86d9 (patch)
tree65793a755315f256a6242d6126fe851a6a2c2951 /OpenSim/Framework
parentFix a couple of security issues (diff)
downloadopensim-SC-c271bbcc8af1549666f6a5299a4b9ab9cf1c86d9.zip
opensim-SC-c271bbcc8af1549666f6a5299a4b9ab9cf1c86d9.tar.gz
opensim-SC-c271bbcc8af1549666f6a5299a4b9ab9cf1c86d9.tar.bz2
opensim-SC-c271bbcc8af1549666f6a5299a4b9ab9cf1c86d9.tar.xz
Preserve the script running flag when copying an object.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/TaskInventoryItem.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs
index 248502e..be2b8c8 100644
--- a/OpenSim/Framework/TaskInventoryItem.cs
+++ b/OpenSim/Framework/TaskInventoryItem.cs
@@ -124,6 +124,9 @@ namespace OpenSim.Framework
124 private UUID _oldID = UUID.Zero; 124 private UUID _oldID = UUID.Zero;
125 125
126 private bool _ownerChanged = false; 126 private bool _ownerChanged = false;
127
128 // This used ONLY during copy. It can't be relied on at other times!
129 private bool _scriptRunning = true;
127 130
128 public UUID AssetID { 131 public UUID AssetID {
129 get { 132 get {
@@ -387,6 +390,15 @@ namespace OpenSim.Framework
387 } 390 }
388 } 391 }
389 392
393 public bool ScriptRunning {
394 get {
395 return _scriptRunning;
396 }
397 set {
398 _scriptRunning = value;
399 }
400 }
401
390 // See ICloneable 402 // See ICloneable
391 403
392 #region ICloneable Members 404 #region ICloneable Members