diff options
author | Dahlia Trimble | 2008-07-12 01:02:41 +0000 |
---|---|---|
committer | Dahlia Trimble | 2008-07-12 01:02:41 +0000 |
commit | f6c7f167b9ee35a68b69f48ae8261225cb452a7a (patch) | |
tree | bd30e9068ad8b1b05ea35b11923e37fe27d88df1 /OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |
parent | Patch #9141 (Mantis #1655) (diff) | |
download | opensim-SC_OLD-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.zip opensim-SC_OLD-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.tar.gz opensim-SC_OLD-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.tar.bz2 opensim-SC_OLD-f6c7f167b9ee35a68b69f48ae8261225cb452a7a.tar.xz |
Overloads CreateMesh method of interface IMesher to pass prim physical status to mesher
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/Meshmerizer.cs')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index df850a0..42b6a90 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -2056,6 +2056,11 @@ namespace OpenSim.Region.Physics.Meshing | |||
2056 | 2056 | ||
2057 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod) | 2057 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod) |
2058 | { | 2058 | { |
2059 | return CreateMesh(primName, primShape, size, lod, false); | ||
2060 | } | ||
2061 | |||
2062 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, PhysicsVector size, float lod, bool isPhysical) | ||
2063 | { | ||
2059 | Mesh mesh = null; | 2064 | Mesh mesh = null; |
2060 | 2065 | ||
2061 | if (primShape.SculptEntry && primShape.SculptType != (byte)0 && primShape.SculptData.Length > 0) | 2066 | if (primShape.SculptEntry && primShape.SculptType != (byte)0 && primShape.SculptData.Length > 0) |