warp3d: reduce work prims textures to at most 256x256
parent
2b604fa889
commit
a824258c88
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue