llprimitive merge
This commit is contained in:
@@ -2141,17 +2141,17 @@ void LLPanelObject::sendSculpt()
|
||||
return;
|
||||
|
||||
LLSculptParams sculpt_params;
|
||||
LLUUID sculpt_id = LLUUID::null;
|
||||
|
||||
if (mCtrlSculptTexture)
|
||||
sculpt_params.setSculptTexture(mCtrlSculptTexture->getImageAssetID());
|
||||
sculpt_id = mCtrlSculptTexture->getImageAssetID();
|
||||
|
||||
U8 sculpt_type = 0;
|
||||
|
||||
if (mCtrlSculptType)
|
||||
sculpt_type |= mCtrlSculptType->getCurrentIndex();
|
||||
|
||||
bool enabled = true;
|
||||
enabled = sculpt_type != LL_SCULPT_TYPE_MESH;
|
||||
bool enabled = sculpt_type != LL_SCULPT_TYPE_MESH;
|
||||
|
||||
if (mCtrlSculptMirror)
|
||||
{
|
||||
@@ -2168,7 +2168,7 @@ void LLPanelObject::sendSculpt()
|
||||
if ((mCtrlSculptInvert) && (mCtrlSculptInvert->get()))
|
||||
sculpt_type |= LL_SCULPT_FLAG_INVERT;
|
||||
|
||||
sculpt_params.setSculptType(sculpt_type);
|
||||
sculpt_params.setSculptTexture(sculpt_id, sculpt_type);
|
||||
mObject->setParameterEntry(LLNetworkData::PARAMS_SCULPT, sculpt_params, TRUE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user