MAINT-1693 FIXED Building Block Type is changed to Torus after cancel changing of texture for sculpted object
parent
3f3bac5e91
commit
fda0c3eb59
|
|
@ -2000,7 +2000,11 @@ void LLPanelObject::onCancelSculpt(const LLSD& data)
|
|||
LLTextureCtrl* mTextureCtrl = getChild<LLTextureCtrl>("sculpt texture control");
|
||||
if(!mTextureCtrl)
|
||||
return;
|
||||
|
||||
|
||||
if(mSculptTextureRevert == LLUUID::null)
|
||||
{
|
||||
mSculptTextureRevert = LLUUID(SCULPT_DEFAULT_TEXTURE);
|
||||
}
|
||||
mTextureCtrl->setImageAssetID(mSculptTextureRevert);
|
||||
|
||||
sendSculpt();
|
||||
|
|
|
|||
Loading…
Reference in New Issue