Skip to content

Commit ef04f35

Browse files
committed
allow llapputil to perform compression on composite bake
1 parent 8ec1774 commit ef04f35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

indra/llappearanceutility/llbakingtexlayer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ void LLBakingTexLayerSetBuffer::midRenderTexLayerSet(bool success)
127127
LL_RECORD_BLOCK_TIME(FTM_CREATE_J2C);
128128
LL_DEBUGS() << "Creating J2C..." << LL_ENDL;
129129
mCompressedImage = new LLImageJ2C;
130-
mCompressedImage->setReversible(true);
131130
const char* comment_text = LINDEN_J2C_COMMENT_PREFIX "RGBHM"; // writes into baked_color_data. 5 channels (rgb, heightfield/alpha, mask)
132-
if (!mCompressedImage->encode(baked_image, comment_text, 0.0f))
131+
if (!mCompressedImage->encode(baked_image, comment_text))
133132
{
134133
throw LLAppException(RV_UNABLE_TO_ENCODE);
135134
}

0 commit comments

Comments
 (0)