We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63041b0 commit f1f33b6Copy full SHA for f1f33b6
indra/llappearanceutility/llprocesstexture.cpp
@@ -167,7 +167,13 @@ void LLProcessTexture::init()
167
}
168
else
169
{
170
- if ((maxTextureDecodedWidth > 512) || (maxTextureDecodedHeight > 512))
+ // optimization: maybe we could use maxTextureDecodedWidth and
171
+ // maxTextureDecodedHeight for new LLBakingWindow below?
172
+ if ((maxTextureDecodedWidth > 1024) || (maxTextureDecodedHeight > 1024))
173
+ {
174
+ mBakeSize = 2048;
175
+ }
176
+ else if ((maxTextureDecodedWidth > 512) || (maxTextureDecodedHeight > 512))
177
178
mBakeSize = 1024;
179
0 commit comments