Attempt to revert release r61312 checkin. Whitespace only

master
Arthur Abraham 2007-05-03 18:34:55 +00:00
parent 5d0cbafc85
commit 5de49ccb32
1 changed files with 5 additions and 5 deletions

View File

@ -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)))
{