warp3d: reduce work prims textures to at most 256x256

0.9.1.0-post-fixes
UbitUmarov 2019-04-11 23:47:01 +01:00
parent 2b604fa889
commit a824258c88
1 changed files with 1 additions and 1 deletions

View File

@ -790,7 +790,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
try try
{ {
using (Bitmap img = (Bitmap)m_imgDecoder.DecodeToImage(asset)) using (Bitmap img = (Bitmap)m_imgDecoder.DecodeToImage(asset))
ret = new warp_Texture(img); ret = new warp_Texture(img, 8); // reduce textures size to 256x256
} }
catch (Exception e) catch (Exception e)
{ {