SL-12238 - error message to match new limits
parent
3cefd6bd17
commit
4cfcbca748
|
|
@ -1344,6 +1344,7 @@ BOOL LLPanelRegionTerrainInfo::validateTextureSizes()
|
|||
LLSD args;
|
||||
args["TEXTURE_NUM"] = i+1;
|
||||
args["TEXTURE_BIT_DEPTH"] = llformat("%d",components * 8);
|
||||
args["MAX_SIZE"] = MAX_TERRAIN_TEXTURE_SIZE;
|
||||
LLNotificationsUtil::add("InvalidTerrainBitDepth", args);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
@ -1355,6 +1356,7 @@ BOOL LLPanelRegionTerrainInfo::validateTextureSizes()
|
|||
args["TEXTURE_NUM"] = i+1;
|
||||
args["TEXTURE_SIZE_X"] = width;
|
||||
args["TEXTURE_SIZE_Y"] = height;
|
||||
args["MAX_SIZE"] = MAX_TERRAIN_TEXTURE_SIZE;
|
||||
LLNotificationsUtil::add("InvalidTerrainSize", args);
|
||||
return FALSE;
|
||||
|
||||
|
|
|
|||
|
|
@ -3907,7 +3907,7 @@ Are you sure you want to return objects owned by [USER_NAME]?
|
|||
Couldn't set region textures:
|
||||
Terrain texture [TEXTURE_NUM] has an invalid bit depth of [TEXTURE_BIT_DEPTH].
|
||||
|
||||
Replace texture [TEXTURE_NUM] with a 24-bit 512x512 or smaller image then click "Apply" again.
|
||||
Replace texture [TEXTURE_NUM] with a 24-bit [MAX_SIZE]x[MAX_SIZE] or smaller image then click "Apply" again.
|
||||
<tag>fail</tag>
|
||||
</notification>
|
||||
|
||||
|
|
@ -3918,7 +3918,7 @@ Replace texture [TEXTURE_NUM] with a 24-bit 512x512 or smaller image then click
|
|||
Couldn't set region textures:
|
||||
Terrain texture [TEXTURE_NUM] is too large at [TEXTURE_SIZE_X]x[TEXTURE_SIZE_Y].
|
||||
|
||||
Replace texture [TEXTURE_NUM] with a 24-bit 512x512 or smaller image then click "Apply" again.
|
||||
Replace texture [TEXTURE_NUM] with a 24-bit [MAX_SIZE]x[MAX_SIZE] or smaller image then click "Apply" again.
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
|
|
|
|||
Loading…
Reference in New Issue