diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/DynamicTextureModule.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/DynamicTextureModule.cs b/OpenSim/Region/Environment/Modules/DynamicTextureModule.cs index ee84499..02354f1 100644 --- a/OpenSim/Region/Environment/Modules/DynamicTextureModule.cs +++ b/OpenSim/Region/Environment/Modules/DynamicTextureModule.cs | |||
@@ -26,14 +26,15 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Drawing; | ||
30 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Drawing; | ||
31 | using System.Drawing.Imaging; | ||
31 | using libsecondlife; | 32 | using libsecondlife; |
32 | using Nini.Config; | 33 | using Nini.Config; |
34 | using OpenJPEGNet; | ||
33 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
34 | using OpenSim.Region.Environment.Interfaces; | 36 | using OpenSim.Region.Environment.Interfaces; |
35 | using OpenSim.Region.Environment.Scenes; | 37 | using OpenSim.Region.Environment.Scenes; |
36 | using OpenJPEGNet; | ||
37 | 38 | ||
38 | namespace OpenSim.Region.Environment.Modules | 39 | namespace OpenSim.Region.Environment.Modules |
39 | { | 40 | { |
@@ -252,7 +253,7 @@ namespace OpenSim.Region.Environment.Modules | |||
252 | Bitmap joint; | 253 | Bitmap joint; |
253 | Graphics jG; | 254 | Graphics jG; |
254 | 255 | ||
255 | joint = new Bitmap(back.Width, back.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); | 256 | joint = new Bitmap(back.Width, back.Height, PixelFormat.Format32bppArgb); |
256 | jG = Graphics.FromImage(joint); | 257 | jG = Graphics.FromImage(joint); |
257 | 258 | ||
258 | jG.DrawImage(back, 0, 0, back.Width, back.Height); | 259 | jG.DrawImage(back, 0, 0, back.Width, back.Height); |