diff options
author | Melanie | 2012-07-01 18:30:59 +0100 |
---|---|---|
committer | Melanie | 2012-07-01 18:30:59 +0100 |
commit | d32cf2157670889c571a34f1a4473d672e29627d (patch) | |
tree | cf0320e75bc2c3c772034251720f3992438764af /OpenSim/Framework | |
parent | Remove some mono compiler warnings (diff) | |
download | opensim-SC_OLD-d32cf2157670889c571a34f1a4473d672e29627d.zip opensim-SC_OLD-d32cf2157670889c571a34f1a4473d672e29627d.tar.gz opensim-SC_OLD-d32cf2157670889c571a34f1a4473d672e29627d.tar.bz2 opensim-SC_OLD-d32cf2157670889c571a34f1a4473d672e29627d.tar.xz |
Add preservation of running state of scripts when drag-copying.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/TaskInventoryItem.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index 362d365..3b40381 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs | |||
@@ -73,6 +73,9 @@ namespace OpenSim.Framework | |||
73 | 73 | ||
74 | private bool _ownerChanged = false; | 74 | private bool _ownerChanged = false; |
75 | 75 | ||
76 | // This used ONLY during copy. It can't be relied on at other times! | ||
77 | private bool _scriptRunning = true; | ||
78 | |||
76 | public UUID AssetID { | 79 | public UUID AssetID { |
77 | get { | 80 | get { |
78 | return _assetID; | 81 | return _assetID; |
@@ -350,6 +353,15 @@ namespace OpenSim.Framework | |||
350 | } | 353 | } |
351 | } | 354 | } |
352 | 355 | ||
356 | public bool ScriptRunning { | ||
357 | get { | ||
358 | return _scriptRunning; | ||
359 | } | ||
360 | set { | ||
361 | _scriptRunning = value; | ||
362 | } | ||
363 | } | ||
364 | |||
353 | // See ICloneable | 365 | // See ICloneable |
354 | 366 | ||
355 | #region ICloneable Members | 367 | #region ICloneable Members |