From 2f6e1ac34dfb09b507b68e0abcad2e4d4f497f80 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 15 Feb 2008 13:00:47 +0000 Subject: allow for 1024x1024 textures through osSetDynamicTextureURL. Follow up patch to do smarter resize coming this afternoon. --- OpenSim/Region/Environment/Modules/LoadImageURLModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs b/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs index 787e6f1..dc894e4 100644 --- a/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs +++ b/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs @@ -126,7 +126,7 @@ namespace OpenSim.Region.Environment.Modules if (response.StatusCode == HttpStatusCode.OK) { Bitmap image = new Bitmap(response.GetResponseStream()); - Bitmap resize = new Bitmap(image, new Size(512, 512)); + Bitmap resize = new Bitmap(image, new Size(1024, 1024)); byte[] imageJ2000 = OpenJPEG.EncodeFromImage(resize, true); m_textureManager.ReturnData(state.RequestID, imageJ2000); @@ -146,4 +146,4 @@ namespace OpenSim.Region.Environment.Modules } } } -} \ No newline at end of file +} -- cgit v1.1