summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelcontents.cpp
diff options
context:
space:
mode:
authorArthur Abraham <a2@lindenlab.com>2007-05-03 18:34:55 +0000
committerArthur Abraham <a2@lindenlab.com>2007-05-03 18:34:55 +0000
commit5de49ccb321aba6f09111e74abbb965b630f8d27 (patch)
tree30647a90cfff16ba234883b1e96f6a14cddc4b50 /indra/newview/llpanelcontents.cpp
parent5d0cbafc8550c2c3d6927ec7aa1414031ad7a1b7 (diff)
Attempt to revert release r61312 checkin. Whitespace only
Diffstat (limited to 'indra/newview/llpanelcontents.cpp')
-rw-r--r--indra/newview/llpanelcontents.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llpanelcontents.cpp b/indra/newview/llpanelcontents.cpp
index 4c76e7491b..30adea7d73 100644
--- a/indra/newview/llpanelcontents.cpp
+++ b/indra/newview/llpanelcontents.cpp
@@ -1,4 +1,4 @@
-/**
+/**
* @file llpanelcontents.cpp
* @brief Object contents panel in the tools floater.
*
@@ -81,21 +81,21 @@ LLPanelContents::~LLPanelContents()
void LLPanelContents::getState(LLViewerObject *objectp )
{
if( !objectp )
- {
+ {
childSetEnabled("button new script",FALSE);
//mBtnNewScript->setEnabled( FALSE );
return;
}
// BUG? Check for all objects being editable?
- BOOL editable = gAgent.isGodlike()
+ BOOL editable = gAgent.isGodlike()
|| (objectp->permModify() && objectp->permYouOwner());
BOOL all_volume = gSelectMgr->selectionAllPCode( LL_PCODE_VOLUME );
// Edit script button - ok if object is editable and there's an
// unambiguous destination for the object.
- if( editable &&
- all_volume &&
+ if( editable &&
+ all_volume &&
((gSelectMgr->getSelection()->getRootObjectCount() == 1)
|| (gSelectMgr->getSelection()->getObjectCount() == 1)))
{