* Switched from OpenJPEG to CSJ2K in Meshmerizer
* Tested the previous patch and found no regressions0.6.8-post-fixes
parent
d199767e69
commit
f5cad91578
|
@ -31,7 +31,6 @@ using System.Collections.Generic;
|
||||||
using OpenSim.Framework;
|
using OpenSim.Framework;
|
||||||
using OpenSim.Region.Physics.Manager;
|
using OpenSim.Region.Physics.Manager;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
using OpenMetaverse.Imaging;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using PrimMesher;
|
using PrimMesher;
|
||||||
|
@ -285,8 +284,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ManagedImage managedImage; // we never use this
|
idata = CSJ2K.J2kImage.FromBytes(primShape.SculptData);
|
||||||
OpenJPEG.DecodeToImage(primShape.SculptData, out managedImage, out idata);
|
|
||||||
|
|
||||||
if (cacheSculptMaps)
|
if (cacheSculptMaps)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue