diff options
author | UbitUmarov | 2012-02-11 03:25:17 +0000 |
---|---|---|
committer | UbitUmarov | 2012-02-11 03:25:17 +0000 |
commit | f415256e0b0d4b0191d52cb84090a0f1b0044ae9 (patch) | |
tree | 79b1a9edef88ebed7c5fa2bdd693be4571d07aa7 /OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | |
parent | scale avatar push force with avatar density (diff) | |
download | opensim-SC-f415256e0b0d4b0191d52cb84090a0f1b0044ae9.zip opensim-SC-f415256e0b0d4b0191d52cb84090a0f1b0044ae9.tar.gz opensim-SC-f415256e0b0d4b0191d52cb84090a0f1b0044ae9.tar.bz2 opensim-SC-f415256e0b0d4b0191d52cb84090a0f1b0044ae9.tar.xz |
Use mesh to estimate real center of prims if avaiable. Let sculpt map textures with alpha channel work. On linux J2DecodeCache folder must be deleted to remove bad entries. Corrently this can't be cached on linux (mono/ cairo/? problem)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index b0dbe50..073c37f 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | /* | 1 | /* |
3 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
4 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
@@ -1056,9 +1055,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1056 | return false; | 1055 | return false; |
1057 | } | 1056 | } |
1058 | 1057 | ||
1059 | // primOOBoffset = mesh.GetCentroid(); | 1058 | primOOBoffset = mesh.GetCentroid(); |
1060 | // hasOOBoffsetFromMesh = true; | 1059 | hasOOBoffsetFromMesh = true; |
1061 | hasOOBoffsetFromMesh = false; | ||
1062 | 1060 | ||
1063 | _triMeshData = d.GeomTriMeshDataCreate(); | 1061 | _triMeshData = d.GeomTriMeshDataCreate(); |
1064 | 1062 | ||