diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/PhysicsModules/ubOdeMeshing | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to '')
5 files changed, 46 insertions, 46 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs index 0cdaa60..5d2b1f7 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs | |||
@@ -243,8 +243,8 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
243 | triangle.v3.Z) | 243 | triangle.v3.Z) |
244 | || (triangle.v2.X == triangle.v3.X && triangle.v2.Y == triangle.v3.Y && triangle.v2.Z == | 244 | || (triangle.v2.X == triangle.v3.X && triangle.v2.Y == triangle.v3.Y && triangle.v2.Z == |
245 | triangle.v3.Z) | 245 | triangle.v3.Z) |
246 | ) | 246 | ) |
247 | { | 247 | { |
248 | return; | 248 | return; |
249 | } | 249 | } |
250 | 250 | ||
@@ -444,7 +444,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
444 | { | 444 | { |
445 | if (m_indicesPtr != IntPtr.Zero || m_verticesPtr != IntPtr.Zero) | 445 | if (m_indicesPtr != IntPtr.Zero || m_verticesPtr != IntPtr.Zero) |
446 | throw new NotSupportedException("Attempt to Append to a pinned Mesh"); | 446 | throw new NotSupportedException("Attempt to Append to a pinned Mesh"); |
447 | 447 | ||
448 | if (!(newMesh is Mesh)) | 448 | if (!(newMesh is Mesh)) |
449 | return; | 449 | return; |
450 | 450 | ||
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs index 7f0713a..163f439 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs | |||
@@ -58,8 +58,8 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
58 | // Setting baseDir to a path will enable the dumping of raw files | 58 | // Setting baseDir to a path will enable the dumping of raw files |
59 | // raw files can be imported by blender so a visual inspection of the results can be done | 59 | // raw files can be imported by blender so a visual inspection of the results can be done |
60 | 60 | ||
61 | private bool m_Enabled = false; | 61 | private bool m_Enabled = false; |
62 | 62 | ||
63 | public static object diskLock = new object(); | 63 | public static object diskLock = new object(); |
64 | 64 | ||
65 | public bool doMeshFileCache = true; | 65 | public bool doMeshFileCache = true; |
@@ -120,7 +120,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
120 | } | 120 | } |
121 | 121 | ||
122 | CacheExpire = TimeSpan.FromHours(fcache); | 122 | CacheExpire = TimeSpan.FromHours(fcache); |
123 | 123 | ||
124 | lock (diskLock) | 124 | lock (diskLock) |
125 | { | 125 | { |
126 | if(doMeshFileCache && cachePath != "") | 126 | if(doMeshFileCache && cachePath != "") |
@@ -165,9 +165,9 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
165 | if (!m_Enabled) | 165 | if (!m_Enabled) |
166 | return; | 166 | return; |
167 | } | 167 | } |
168 | 168 | ||
169 | #endregion | 169 | #endregion |
170 | 170 | ||
171 | /// <summary> | 171 | /// <summary> |
172 | /// creates a simple box mesh of the specified size. This mesh is of very low vertex count and may | 172 | /// creates a simple box mesh of the specified size. This mesh is of very low vertex count and may |
173 | /// be useful as a backup proxy when level of detail is not needed or when more complex meshes fail | 173 | /// be useful as a backup proxy when level of detail is not needed or when more complex meshes fail |
@@ -266,7 +266,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
266 | private void AddSubMesh(OSDMap subMeshData, List<Coord> coords, List<Face> faces) | 266 | private void AddSubMesh(OSDMap subMeshData, List<Coord> coords, List<Face> faces) |
267 | { | 267 | { |
268 | // Console.WriteLine("subMeshMap for {0} - {1}", primName, Util.GetFormattedXml((OSD)subMeshMap)); | 268 | // Console.WriteLine("subMeshMap for {0} - {1}", primName, Util.GetFormattedXml((OSD)subMeshMap)); |
269 | 269 | ||
270 | // As per http://wiki.secondlife.com/wiki/Mesh/Mesh_Asset_Format, some Mesh Level | 270 | // As per http://wiki.secondlife.com/wiki/Mesh/Mesh_Asset_Format, some Mesh Level |
271 | // of Detail Blocks (maps) contain just a NoGeometry key to signal there is no | 271 | // of Detail Blocks (maps) contain just a NoGeometry key to signal there is no |
272 | // geometry for this submesh. | 272 | // geometry for this submesh. |
@@ -294,15 +294,15 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
294 | ushort uX = Utils.BytesToUInt16(posBytes, i); | 294 | ushort uX = Utils.BytesToUInt16(posBytes, i); |
295 | ushort uY = Utils.BytesToUInt16(posBytes, i + 2); | 295 | ushort uY = Utils.BytesToUInt16(posBytes, i + 2); |
296 | ushort uZ = Utils.BytesToUInt16(posBytes, i + 4); | 296 | ushort uZ = Utils.BytesToUInt16(posBytes, i + 4); |
297 | 297 | ||
298 | Coord c = new Coord( | 298 | Coord c = new Coord( |
299 | Utils.UInt16ToFloat(uX, posMin.X, posMax.X), | 299 | Utils.UInt16ToFloat(uX, posMin.X, posMax.X), |
300 | Utils.UInt16ToFloat(uY, posMin.Y, posMax.Y), | 300 | Utils.UInt16ToFloat(uY, posMin.Y, posMax.Y), |
301 | Utils.UInt16ToFloat(uZ, posMin.Z, posMax.Z)); | 301 | Utils.UInt16ToFloat(uZ, posMin.Z, posMax.Z)); |
302 | 302 | ||
303 | coords.Add(c); | 303 | coords.Add(c); |
304 | } | 304 | } |
305 | 305 | ||
306 | byte[] triangleBytes = subMeshData["TriangleList"].AsBinary(); | 306 | byte[] triangleBytes = subMeshData["TriangleList"].AsBinary(); |
307 | for (int i = 0; i < triangleBytes.Length; i += 6) | 307 | for (int i = 0; i < triangleBytes.Length; i += 6) |
308 | { | 308 | { |
@@ -448,7 +448,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
448 | if (physicsParms != null) | 448 | if (physicsParms != null) |
449 | usemesh = true; | 449 | usemesh = true; |
450 | } | 450 | } |
451 | 451 | ||
452 | if(!usemesh && (map.ContainsKey("physics_convex"))) | 452 | if(!usemesh && (map.ContainsKey("physics_convex"))) |
453 | physicsParms = (OSDMap)map["physics_convex"]; | 453 | physicsParms = (OSDMap)map["physics_convex"]; |
454 | 454 | ||
@@ -488,9 +488,9 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
488 | 488 | ||
489 | byte[] decompressedBuf = outMs.GetBuffer(); | 489 | byte[] decompressedBuf = outMs.GetBuffer(); |
490 | 490 | ||
491 | decodedMeshOsd = OSDParser.DeserializeLLSDBinary(decompressedBuf); | 491 | decodedMeshOsd = OSDParser.DeserializeLLSDBinary(decompressedBuf); |
492 | } | 492 | } |
493 | } | 493 | } |
494 | } | 494 | } |
495 | } | 495 | } |
496 | catch (Exception e) | 496 | catch (Exception e) |
@@ -622,7 +622,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
622 | faces.Add(f); | 622 | faces.Add(f); |
623 | } | 623 | } |
624 | vertsoffset += vs.Count; | 624 | vertsoffset += vs.Count; |
625 | vs.Clear(); | 625 | vs.Clear(); |
626 | continue; | 626 | continue; |
627 | } | 627 | } |
628 | /* | 628 | /* |
@@ -648,7 +648,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
648 | c.Z = hullr.Vertices[i].z; | 648 | c.Z = hullr.Vertices[i].z; |
649 | coords.Add(c); | 649 | coords.Add(c); |
650 | } | 650 | } |
651 | 651 | ||
652 | for (i = 0; i < nindexs; i += 3) | 652 | for (i = 0; i < nindexs; i += 3) |
653 | { | 653 | { |
654 | t1 = hullr.Indices[i]; | 654 | t1 = hullr.Indices[i]; |
@@ -687,7 +687,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
687 | c.Z = vs[i].z; | 687 | c.Z = vs[i].z; |
688 | coords.Add(c); | 688 | coords.Add(c); |
689 | } | 689 | } |
690 | 690 | ||
691 | for (i = 0; i < nindexs; i += 3) | 691 | for (i = 0; i < nindexs; i += 3) |
692 | { | 692 | { |
693 | t1 = indices[i]; | 693 | t1 = indices[i]; |
@@ -707,12 +707,12 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
707 | } | 707 | } |
708 | } | 708 | } |
709 | if (coords.Count > 0 && faces.Count > 0) | 709 | if (coords.Count > 0 && faces.Count > 0) |
710 | return true; | 710 | return true; |
711 | } | 711 | } |
712 | else | 712 | else |
713 | { | 713 | { |
714 | // if neither mesh or decomposition present, warn and use convex | 714 | // if neither mesh or decomposition present, warn and use convex |
715 | m_log.WarnFormat("[MESH]: Data for PRIM shape type ( mesh or decomposition) not found for prim {0}",primName); | 715 | m_log.WarnFormat("[MESH]: Data for PRIM shape type ( mesh or decomposition) not found for prim {0}",primName); |
716 | } | 716 | } |
717 | } | 717 | } |
718 | vs.Clear(); | 718 | vs.Clear(); |
@@ -947,7 +947,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
947 | { | 947 | { |
948 | PrimMesh primMesh; | 948 | PrimMesh primMesh; |
949 | coords = new List<Coord>(); | 949 | coords = new List<Coord>(); |
950 | faces = new List<Face>(); | 950 | faces = new List<Face>(); |
951 | 951 | ||
952 | float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f; | 952 | float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f; |
953 | float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f; | 953 | float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f; |
@@ -975,7 +975,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
975 | profileHollow = 0.0f; | 975 | profileHollow = 0.0f; |
976 | else if (profileHollow > 0.95f) | 976 | else if (profileHollow > 0.95f) |
977 | profileHollow = 0.95f; | 977 | profileHollow = 0.95f; |
978 | 978 | ||
979 | int sides = 4; | 979 | int sides = 4; |
980 | LevelOfDetail iLOD = (LevelOfDetail)lod; | 980 | LevelOfDetail iLOD = (LevelOfDetail)lod; |
981 | byte profshape = (byte)(primShape.ProfileCurve & 0x07); | 981 | byte profshape = (byte)(primShape.ProfileCurve & 0x07); |
@@ -1033,7 +1033,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1033 | } | 1033 | } |
1034 | 1034 | ||
1035 | primMesh = new PrimMesh(sides, profileBegin, profileEnd, profileHollow, hollowSides); | 1035 | primMesh = new PrimMesh(sides, profileBegin, profileEnd, profileHollow, hollowSides); |
1036 | 1036 | ||
1037 | if (primMesh.errorMessage != null) | 1037 | if (primMesh.errorMessage != null) |
1038 | if (primMesh.errorMessage.Length > 0) | 1038 | if (primMesh.errorMessage.Length > 0) |
1039 | m_log.Error("[ERROR] " + primMesh.errorMessage); | 1039 | m_log.Error("[ERROR] " + primMesh.errorMessage); |
@@ -1162,7 +1162,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1162 | for (int i = 0; i < someBytes.Length; i++) | 1162 | for (int i = 0; i < someBytes.Length; i++) |
1163 | hash = mdjb2(hash, someBytes[i]); | 1163 | hash = mdjb2(hash, someBytes[i]); |
1164 | hash = hash << 8; | 1164 | hash = hash << 8; |
1165 | } | 1165 | } |
1166 | 1166 | ||
1167 | if (convex) | 1167 | if (convex) |
1168 | hash |= 4; | 1168 | hash |= 4; |
@@ -1204,7 +1204,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1204 | { | 1204 | { |
1205 | return CreateMesh(primName, primShape, size, lod, false, false, false); | 1205 | return CreateMesh(primName, primShape, size, lod, false, false, false); |
1206 | } | 1206 | } |
1207 | 1207 | ||
1208 | public IMesh GetMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex) | 1208 | public IMesh GetMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex) |
1209 | { | 1209 | { |
1210 | Mesh mesh = null; | 1210 | Mesh mesh = null; |
@@ -1245,7 +1245,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1245 | } | 1245 | } |
1246 | 1246 | ||
1247 | private static Vector3 m_MeshUnitSize = new Vector3(1.0f, 1.0f, 1.0f); | 1247 | private static Vector3 m_MeshUnitSize = new Vector3(1.0f, 1.0f, 1.0f); |
1248 | 1248 | ||
1249 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex, bool forOde) | 1249 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex, bool forOde) |
1250 | { | 1250 | { |
1251 | #if SPAM | 1251 | #if SPAM |
@@ -1348,7 +1348,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1348 | m_uniqueMeshes.Add(key, mesh); | 1348 | m_uniqueMeshes.Add(key, mesh); |
1349 | } | 1349 | } |
1350 | catch { } | 1350 | catch { } |
1351 | } | 1351 | } |
1352 | 1352 | ||
1353 | return mesh; | 1353 | return mesh; |
1354 | } | 1354 | } |
@@ -1380,7 +1380,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1380 | m_uniqueReleasedMeshes.Add(mesh.Key, mesh); | 1380 | m_uniqueReleasedMeshes.Add(mesh.Key, mesh); |
1381 | } | 1381 | } |
1382 | catch { } | 1382 | catch { } |
1383 | } | 1383 | } |
1384 | } | 1384 | } |
1385 | } | 1385 | } |
1386 | 1386 | ||
@@ -1447,7 +1447,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1447 | // BinaryFormatter bformatter = new BinaryFormatter(); | 1447 | // BinaryFormatter bformatter = new BinaryFormatter(); |
1448 | mesh = Mesh.FromStream(stream,key); | 1448 | mesh = Mesh.FromStream(stream,key); |
1449 | } | 1449 | } |
1450 | 1450 | ||
1451 | } | 1451 | } |
1452 | catch (Exception e) | 1452 | catch (Exception e) |
1453 | { | 1453 | { |
@@ -1524,7 +1524,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1524 | } | 1524 | } |
1525 | } | 1525 | } |
1526 | } | 1526 | } |
1527 | 1527 | ||
1528 | public void ExpireFileCache() | 1528 | public void ExpireFileCache() |
1529 | { | 1529 | { |
1530 | if (!doCacheExpire) | 1530 | if (!doCacheExpire) |
@@ -1543,8 +1543,8 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1543 | int ndirs = 0; | 1543 | int ndirs = 0; |
1544 | DateTime OlderTime = File.GetLastAccessTimeUtc(controlfile) - CacheExpire; | 1544 | DateTime OlderTime = File.GetLastAccessTimeUtc(controlfile) - CacheExpire; |
1545 | File.SetLastAccessTimeUtc(controlfile, DateTime.UtcNow); | 1545 | File.SetLastAccessTimeUtc(controlfile, DateTime.UtcNow); |
1546 | 1546 | ||
1547 | foreach (string dir in Directory.GetDirectories(cachePath)) | 1547 | foreach (string dir in Directory.GetDirectories(cachePath)) |
1548 | { | 1548 | { |
1549 | try | 1549 | try |
1550 | { | 1550 | { |
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs index 51d067a..10facf2 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs | |||
@@ -522,7 +522,7 @@ namespace PrimMesher | |||
522 | public Profile(int sides, float profileStart, float profileEnd, float hollow, int hollowSides, bool hasProfileCut, bool createFaces) | 522 | public Profile(int sides, float profileStart, float profileEnd, float hollow, int hollowSides, bool hasProfileCut, bool createFaces) |
523 | { | 523 | { |
524 | const float halfSqr2 = 0.7071067811866f; | 524 | const float halfSqr2 = 0.7071067811866f; |
525 | 525 | ||
526 | coords = new List<Coord>(); | 526 | coords = new List<Coord>(); |
527 | faces = new List<Face>(); | 527 | faces = new List<Face>(); |
528 | 528 | ||
@@ -769,7 +769,7 @@ namespace PrimMesher | |||
769 | } | 769 | } |
770 | } | 770 | } |
771 | } | 771 | } |
772 | 772 | ||
773 | } | 773 | } |
774 | 774 | ||
775 | else if (createFaces) | 775 | else if (createFaces) |
@@ -865,7 +865,7 @@ namespace PrimMesher | |||
865 | int i; | 865 | int i; |
866 | int numVerts = coords.Count; | 866 | int numVerts = coords.Count; |
867 | Coord vert; | 867 | Coord vert; |
868 | 868 | ||
869 | for (i = 0; i < numVerts; i++) | 869 | for (i = 0; i < numVerts; i++) |
870 | { | 870 | { |
871 | vert = coords[i]; | 871 | vert = coords[i]; |
@@ -1226,7 +1226,7 @@ namespace PrimMesher | |||
1226 | s += "\nrevolutions..........: " + this.revolutions.ToString(); | 1226 | s += "\nrevolutions..........: " + this.revolutions.ToString(); |
1227 | s += "\nstepsPerRevolution...: " + this.stepsPerRevolution.ToString(); | 1227 | s += "\nstepsPerRevolution...: " + this.stepsPerRevolution.ToString(); |
1228 | s += "\nhasProfileCut........: " + this.hasProfileCut.ToString(); | 1228 | s += "\nhasProfileCut........: " + this.hasProfileCut.ToString(); |
1229 | s += "\nhasHollow............: " + this.hasHollow.ToString(); | 1229 | s += "\nhasHollow............: " + this.hasHollow.ToString(); |
1230 | 1230 | ||
1231 | return s; | 1231 | return s; |
1232 | } | 1232 | } |
@@ -1324,7 +1324,7 @@ namespace PrimMesher | |||
1324 | needEndFaces = true; | 1324 | needEndFaces = true; |
1325 | } | 1325 | } |
1326 | else needEndFaces = true; | 1326 | else needEndFaces = true; |
1327 | 1327 | ||
1328 | if (pathType == PathType.Circular) | 1328 | if (pathType == PathType.Circular) |
1329 | { | 1329 | { |
1330 | if (sides == 3) | 1330 | if (sides == 3) |
@@ -1377,7 +1377,7 @@ namespace PrimMesher | |||
1377 | hollow *= 1.414f; | 1377 | hollow *= 1.414f; |
1378 | } | 1378 | } |
1379 | 1379 | ||
1380 | Profile profile = new Profile(sides, profileStart, profileEnd, hollow, hollowSides, | 1380 | Profile profile = new Profile(sides, profileStart, profileEnd, hollow, hollowSides, |
1381 | HasProfileCut,true); | 1381 | HasProfileCut,true); |
1382 | errorMessage = profile.errorMessage; | 1382 | errorMessage = profile.errorMessage; |
1383 | 1383 | ||
@@ -1407,7 +1407,7 @@ namespace PrimMesher | |||
1407 | path.stepsPerRevolution = stepsPerRevolution; | 1407 | path.stepsPerRevolution = stepsPerRevolution; |
1408 | 1408 | ||
1409 | path.Create(pathType, steps); | 1409 | path.Create(pathType, steps); |
1410 | 1410 | ||
1411 | int lastNode = path.pathNodes.Count - 1; | 1411 | int lastNode = path.pathNodes.Count - 1; |
1412 | 1412 | ||
1413 | for (int nodeIndex = 0; nodeIndex < path.pathNodes.Count; nodeIndex++) | 1413 | for (int nodeIndex = 0; nodeIndex < path.pathNodes.Count; nodeIndex++) |
@@ -1537,7 +1537,7 @@ namespace PrimMesher | |||
1537 | /// DEPRICATED - use Extrude(PathType.Linear) instead | 1537 | /// DEPRICATED - use Extrude(PathType.Linear) instead |
1538 | /// Extrudes a profile along a straight line path. Used for prim types box, cylinder, and prism. | 1538 | /// Extrudes a profile along a straight line path. Used for prim types box, cylinder, and prism. |
1539 | /// </summary> | 1539 | /// </summary> |
1540 | /// | 1540 | /// |
1541 | public void ExtrudeLinear() | 1541 | public void ExtrudeLinear() |
1542 | { | 1542 | { |
1543 | Extrude(PathType.Linear); | 1543 | Extrude(PathType.Linear); |
@@ -1548,7 +1548,7 @@ namespace PrimMesher | |||
1548 | /// DEPRICATED - use Extrude(PathType.Circular) instead | 1548 | /// DEPRICATED - use Extrude(PathType.Circular) instead |
1549 | /// Extrude a profile into a circular path prim mesh. Used for prim types torus, tube, and ring. | 1549 | /// Extrude a profile into a circular path prim mesh. Used for prim types torus, tube, and ring. |
1550 | /// </summary> | 1550 | /// </summary> |
1551 | /// | 1551 | /// |
1552 | public void ExtrudeCircular() | 1552 | public void ExtrudeCircular() |
1553 | { | 1553 | { |
1554 | Extrude(PathType.Circular); | 1554 | Extrude(PathType.Circular); |
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Properties/AssemblyInfo.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Properties/AssemblyInfo.cs index adb1f2e..6503e35 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Properties/AssemblyInfo.cs | |||
@@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; | |||
3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
4 | using Mono.Addins; | 4 | using Mono.Addins; |
5 | 5 | ||
6 | // General Information about an assembly is controlled through the following | 6 | // General Information about an assembly is controlled through the following |
7 | // set of attributes. Change these attribute values to modify the information | 7 | // set of attributes. Change these attribute values to modify the information |
8 | // associated with an assembly. | 8 | // associated with an assembly. |
9 | [assembly: AssemblyTitle("OpenSim.Region.PhysicsModule.ubODEMeshing")] | 9 | [assembly: AssemblyTitle("OpenSim.Region.PhysicsModule.ubODEMeshing")] |
@@ -15,8 +15,8 @@ using Mono.Addins; | |||
15 | [assembly: AssemblyTrademark("")] | 15 | [assembly: AssemblyTrademark("")] |
16 | [assembly: AssemblyCulture("")] | 16 | [assembly: AssemblyCulture("")] |
17 | 17 | ||
18 | // Setting ComVisible to false makes the types in this assembly not visible | 18 | // Setting ComVisible to false makes the types in this assembly not visible |
19 | // to COM components. If you need to access a type in this assembly from | 19 | // to COM components. If you need to access a type in this assembly from |
20 | // COM, set the ComVisible attribute to true on that type. | 20 | // COM, set the ComVisible attribute to true on that type. |
21 | [assembly: ComVisible(false)] | 21 | [assembly: ComVisible(false)] |
22 | 22 | ||
@@ -26,7 +26,7 @@ using Mono.Addins; | |||
26 | // Version information for an assembly consists of the following four values: | 26 | // Version information for an assembly consists of the following four values: |
27 | // | 27 | // |
28 | // Major Version | 28 | // Major Version |
29 | // Minor Version | 29 | // Minor Version |
30 | // Build Number | 30 | // Build Number |
31 | // Revision | 31 | // Revision |
32 | // | 32 | // |
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/SculptMap.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/SculptMap.cs index 2ca2af7..ebe2523 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/SculptMap.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/SculptMap.cs | |||
@@ -57,7 +57,7 @@ namespace PrimMesher | |||
57 | int numLodPixels = lod * lod; // (32 * 2)^2 = 64^2 pixels for default sculpt map image | 57 | int numLodPixels = lod * lod; // (32 * 2)^2 = 64^2 pixels for default sculpt map image |
58 | 58 | ||
59 | bool needsScaling = false; | 59 | bool needsScaling = false; |
60 | bool smallMap = false; | 60 | bool smallMap = false; |
61 | 61 | ||
62 | width = bmW; | 62 | width = bmW; |
63 | height = bmH; | 63 | height = bmH; |