SL-21064 Made it so you can now check physical, temporary, and phantom for multiple-selected objects. Reviewed by Richard.

meow-7.2.2
Dave Kaprielian 2007-04-04 23:12:50 +00:00
parent 170d61d200
commit fd5608a3e7
1 changed files with 3 additions and 3 deletions

View File

@ -428,17 +428,17 @@ void LLPanelObject::getState( )
// Physics checkbox
mIsPhysical = root_objectp->usePhysics();
mCheckPhysics->set( mIsPhysical );
mCheckPhysics->setEnabled( roots_selected==1
mCheckPhysics->setEnabled( roots_selected>0
&& (editable || gAgent.isGodlike())
&& !is_flexible);
mIsTemporary = root_objectp->flagTemporaryOnRez();
mCheckTemporary->set( mIsTemporary );
mCheckTemporary->setEnabled( roots_selected==1 && editable );
mCheckTemporary->setEnabled( roots_selected>0 && editable );
mIsPhantom = root_objectp->flagPhantom();
mCheckPhantom->set( mIsPhantom );
mCheckPhantom->setEnabled( roots_selected==1 && editable && !is_flexible );
mCheckPhantom->setEnabled( roots_selected>0 && editable && !is_flexible );
#if 0 // 1.9.2
mCastShadows = root_objectp->flagCastShadows();