diff options
author | UbitUmarov | 2019-04-11 23:47:01 +0100 |
---|---|---|
committer | UbitUmarov | 2019-04-11 23:47:01 +0100 |
commit | a824258c8888f207a425ed0f62adacbafe32d7c5 (patch) | |
tree | b919ff63927f8f7de53da532d78bad974e7e268a /OpenSim/Region | |
parent | update warp3d.dll (diff) | |
download | opensim-SC-a824258c8888f207a425ed0f62adacbafe32d7c5.zip opensim-SC-a824258c8888f207a425ed0f62adacbafe32d7c5.tar.gz opensim-SC-a824258c8888f207a425ed0f62adacbafe32d7c5.tar.bz2 opensim-SC-a824258c8888f207a425ed0f62adacbafe32d7c5.tar.xz |
warp3d: reduce work prims textures to at most 256x256
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs b/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs index 99cf121..f927573 100644 --- a/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs +++ b/OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs | |||
@@ -790,7 +790,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap | |||
790 | try | 790 | try |
791 | { | 791 | { |
792 | using (Bitmap img = (Bitmap)m_imgDecoder.DecodeToImage(asset)) | 792 | using (Bitmap img = (Bitmap)m_imgDecoder.DecodeToImage(asset)) |
793 | ret = new warp_Texture(img); | 793 | ret = new warp_Texture(img, 8); // reduce textures size to 256x256 |
794 | } | 794 | } |
795 | catch (Exception e) | 795 | catch (Exception e) |
796 | { | 796 | { |