diff --git a/indra/newview/llpanelobject.cpp b/indra/newview/llpanelobject.cpp index bd6ca77664..73b9ca64d9 100644 --- a/indra/newview/llpanelobject.cpp +++ b/indra/newview/llpanelobject.cpp @@ -593,18 +593,20 @@ void LLPanelObject::getState( ) BOOL editable = root_objectp->permModify(); // Select Single Message - getChildView("select_single")->setVisible( FALSE); - getChildView("edit_object")->setVisible( FALSE); - if (!editable || single_volume || selected_count <= 1) - { - getChildView("edit_object")->setVisible( TRUE); - getChildView("edit_object")->setEnabled(TRUE); - } - else - { - getChildView("select_single")->setVisible( TRUE); - getChildView("select_single")->setEnabled(TRUE); - } + // We don't have those in FS (2013-04-28) + //getChildView("select_single")->setVisible( FALSE); + //getChildView("edit_object")->setVisible( FALSE); + //if (!editable || single_volume || selected_count <= 1) + //{ + // getChildView("edit_object")->setVisible( TRUE); + // getChildView("edit_object")->setEnabled(TRUE); + //} + //else + //{ + // getChildView("select_single")->setVisible( TRUE); + // getChildView("select_single")->setEnabled(TRUE); + //} + // BOOL is_flexible = volobjp && volobjp->isFlexible(); BOOL is_permanent = root_objectp->flagObjectPermanent(); @@ -2258,9 +2260,11 @@ void LLPanelObject::clearCtrls() mLabelRadiusOffset->setEnabled( FALSE ); mLabelRevolutions->setEnabled( FALSE ); - getChildView("select_single")->setVisible( FALSE); - getChildView("edit_object")->setVisible( TRUE); - getChildView("edit_object")->setEnabled(FALSE); + // We don't have those in Firestorm (2013-04-28) + //getChildView("select_single")->setVisible( FALSE); + //getChildView("edit_object")->setVisible( TRUE); + //getChildView("edit_object")->setEnabled(FALSE); + // getChildView("scale_hole")->setEnabled(FALSE); getChildView("scale_taper")->setEnabled(FALSE); diff --git a/indra/newview/llpanelvolume.cpp b/indra/newview/llpanelvolume.cpp index 02d363d795..5c4a9aba96 100644 --- a/indra/newview/llpanelvolume.cpp +++ b/indra/newview/llpanelvolume.cpp @@ -282,7 +282,9 @@ void LLPanelVolume::getState( ) if (is_light && editable && single_volume) { - getChildView("label color")->setEnabled(true); + // We don't have that one in Firestorm (2013-04-28) + //getChildView("label color")->setEnabled(true); + // //mLabelColor ->setEnabled( TRUE ); LLColorSwatchCtrl* LightColorSwatch = getChild("colorswatch"); if(LightColorSwatch) @@ -325,7 +327,9 @@ void LLPanelVolume::getState( ) getChild("Light Radius", true)->clear(); getChild("Light Falloff", true)->clear(); - getChildView("label color")->setEnabled(false); + // We don't have that one in Firestorm (2013-04-28) + //getChildView("label color")->setEnabled(false); + // LLColorSwatchCtrl* LightColorSwatch = getChild("colorswatch"); if(LightColorSwatch) { @@ -568,8 +572,10 @@ void LLPanelVolume::clearCtrls() getChildView("edit_object")->setEnabled(false); getChildView("edit_object")->setVisible(false); getChildView("Light Checkbox Ctrl")->setEnabled(false); - getChildView("label color")->setEnabled(false); - getChildView("label color")->setEnabled(false); + // We don't have that one in Firestorm (2013-04-28) + //getChildView("label color")->setEnabled(false); + //getChildView("label color")->setEnabled(false); + // LLColorSwatchCtrl* LightColorSwatch = getChild("colorswatch"); if(LightColorSwatch) {