diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2020-09-28 22:21:50 +0300 | 
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2020-09-28 22:21:50 +0300 | 
| commit | a9f70ec80e3799489ec265b2eedcf77d5dc0d342 (patch) | |
| tree | 0c90825f9a6768303587897a6fa844351607eb06 /indra/newview/lltexturectrl.cpp | |
| parent | f4bfaeb45e57ae0a62a47dc4f2759a34fe7a7581 (diff) | |
| parent | bac6652cdcd2d8333df04c3ebd3a6a7b752328b3 (diff) | |
Merge branch 'master' into DRTVWR-483
# Conflicts:
#	indra/newview/lltexturectrl.h
Diffstat (limited to 'indra/newview/lltexturectrl.cpp')
| -rw-r--r-- | indra/newview/lltexturectrl.cpp | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index f775f8d210..9c4aac7e69 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -432,7 +432,7 @@ BOOL LLFloaterTexturePicker::postBuild()  	getChild<LLComboBox>("l_bake_use_texture_combo_box")->setCommitCallback(onBakeTextureSelect, this);  	getChild<LLCheckBoxCtrl>("hide_base_mesh_region")->setCommitCallback(onHideBaseMeshRegionCheck, this); -	setBakeTextureEnabled(FALSE); +	setBakeTextureEnabled(TRUE);  	return TRUE;  } @@ -1158,8 +1158,7 @@ LLTextureCtrl::LLTextureCtrl(const LLTextureCtrl::Params& p)  	mImageAssetID(p.image_id),  	mDefaultImageAssetID(p.default_image_id),  	mDefaultImageName(p.default_image_name), -	mFallbackImage(p.fallback_image), -	mBakeTextureEnabled(FALSE) +	mFallbackImage(p.fallback_image)  {  	// Default of defaults is white image for diff tex @@ -1352,7 +1351,7 @@ void LLTextureCtrl::showPicker(BOOL take_focus)  		}  		if (texture_floaterp)  		{ -			texture_floaterp->setBakeTextureEnabled(mBakeTextureEnabled); +			texture_floaterp->setBakeTextureEnabled(TRUE);  		}  		LLFloater* root_floater = gFloaterView->getParentFloater(this); @@ -1550,7 +1549,6 @@ void LLTextureCtrl::setImageAssetID( const LLUUID& asset_id )  void LLTextureCtrl::setBakeTextureEnabled(BOOL enabled)  { -	mBakeTextureEnabled = enabled;  	LLFloaterTexturePicker* floaterp = (LLFloaterTexturePicker*)mFloaterHandle.get();  	if (floaterp)  	{  | 
