aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-26 19:03:55 -0700
committerJohn Hurliman2009-10-26 19:03:55 -0700
commitf5cad91578d9f7dbfb54d17bb476929e935682a8 (patch)
tree7f167398ad366c5c3750dc341d095f881479a91b /OpenSim/Region/Physics/Meshing
parentExperimental change of PhysicsVector to Vector3. Untested (diff)
downloadopensim-SC-f5cad91578d9f7dbfb54d17bb476929e935682a8.zip
opensim-SC-f5cad91578d9f7dbfb54d17bb476929e935682a8.tar.gz
opensim-SC-f5cad91578d9f7dbfb54d17bb476929e935682a8.tar.bz2
opensim-SC-f5cad91578d9f7dbfb54d17bb476929e935682a8.tar.xz
* Switched from OpenJPEG to CSJ2K in Meshmerizer
* Tested the previous patch and found no regressions
Diffstat (limited to 'OpenSim/Region/Physics/Meshing')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index a90a89a..fbe1949 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -31,7 +31,6 @@ using System.Collections.Generic;
31using OpenSim.Framework; 31using OpenSim.Framework;
32using OpenSim.Region.Physics.Manager; 32using OpenSim.Region.Physics.Manager;
33using OpenMetaverse; 33using OpenMetaverse;
34using OpenMetaverse.Imaging;
35using System.Drawing; 34using System.Drawing;
36using System.Drawing.Imaging; 35using System.Drawing.Imaging;
37using PrimMesher; 36using PrimMesher;
@@ -285,8 +284,7 @@ namespace OpenSim.Region.Physics.Meshing
285 284
286 try 285 try
287 { 286 {
288 ManagedImage managedImage; // we never use this 287 idata = CSJ2K.J2kImage.FromBytes(primShape.SculptData);
289 OpenJPEG.DecodeToImage(primShape.SculptData, out managedImage, out idata);
290 288
291 if (cacheSculptMaps) 289 if (cacheSculptMaps)
292 { 290 {