diff options
author | Ansariel <none@none> | 2016-04-05 11:28:43 +0200 |
---|---|---|
committer | Ansariel <none@none> | 2016-04-05 11:28:43 +0200 |
commit | e25e95b10e3f8c4c965fb7ded6d3205f8e4b2247 (patch) | |
tree | 6058b7955fe7894ad215b6f4f32f217f6254c627 | |
parent | 4b5be54063a257ed70909332de0721d954d697e3 (diff) |
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 { |