diff options
author | Oz Linden <oz@lindenlab.com> | 2016-04-05 09:07:32 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2016-04-05 09:07:32 -0400 |
commit | b30f2b6ffae292f1103527698b633ff08f611524 (patch) | |
tree | 40dedb754c68e8cf8e4f8c748b8d8a2c00843c88 | |
parent | 298fa0828e0c7e233bf39b4876bdd5c42b7826d6 (diff) | |
parent | e25e95b10e3f8c4c965fb7ded6d3205f8e4b2247 (diff) |
Merged in Ansariel/391-blizzard-496-merge-cleanup (pull request #27)
Fix old merge issue in LLLiveLSLEditor::draw()
-rw-r--r-- | indra/newview/llpreviewscript.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 89f01c58c6..26b5a743d0 100644 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -2160,23 +2160,6 @@ void LLLiveLSLEditor::draw() { runningCheckbox->setLabel(getString("script_running")); runningCheckbox->setEnabled(!mIsSaving); - - if(object->permAnyOwner()) - { - runningCheckbox->setLabel(getString("script_running")); - runningCheckbox->setEnabled(!mIsSaving); - } - else - { - runningCheckbox->setLabel(getString("public_objects_can_not_run")); - runningCheckbox->setEnabled(FALSE); - // *FIX: Set it to false so that the ui is correct for - // a box that is released to public. It could be - // incorrect after a release/claim cycle, but will be - // correct after clicking on it. - runningCheckbox->set(FALSE); - mMonoCheckbox->set(FALSE); - } } else { |