Skip to content

Commit

Permalink
Revert a bunch of OpenJPEG changes. Add a few changes to the GetTextu…
Browse files Browse the repository at this point in the history
…re CAP.
  • Loading branch information
RevolutionSmythe authored and RevolutionSmythe committed Apr 3, 2011
1 parent 4c6408e commit df3e704
Show file tree
Hide file tree
Showing 7 changed files with 1,522 additions and 1,519 deletions.
6 changes: 3 additions & 3 deletions Aurora/Modules/Avatar/AbuseReports/AbuseReportsGUI/Abuse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ public Image GetTexture(UUID TextureID)

AssetBase asset = m_assetService.Get(TextureID.ToString());
ManagedImage managedImage;
Image image;

if (asset != null && OpenJPEGDecoder.DecodeToImage(asset.Data, out managedImage, out image))
Image image;

if (asset != null && OpenJPEG.DecodeToImage(asset.Data, out managedImage, out image))
return image;
else
return new Bitmap(1, 1);
Expand Down
Loading

0 comments on commit df3e704

Please sign in to comment.