this should fix mantis 452 and related -- hollow prims work in Linux! (I hope)

afrisby
dan miller 2007-10-01 16:01:42 +00:00
parent 1a10d4828a
commit d644b1f440
3 changed files with 4 additions and 3 deletions

View File

@ -69,6 +69,7 @@ namespace OpenSim.Region.Physics.OdePlugin
public string GetName() public string GetName()
{ {
d.bug();
return ("OpenDynamicsEngine"); return ("OpenDynamicsEngine");
} }
@ -639,7 +640,7 @@ namespace OpenSim.Region.Physics.OdePlugin
d.GeomTriMeshDataBuildSimple(_triMeshData, vertexList, 3 * sizeof(float), VertexCount, indexList, IndexCount, 3 * sizeof(int)); d.GeomTriMeshDataBuildSimple(_triMeshData, vertexList, 3 * sizeof(float), VertexCount, indexList, IndexCount, 3 * sizeof(int));
d.GeomTriMeshDataPreprocess(_triMeshData); d.GeomTriMeshDataPreprocess(_triMeshData);
prim_geom = d.CreateTriMesh(parent_scene.space, _triMeshData, parent_scene.triCallback, parent_scene.triArrayCallback, null); prim_geom = d.CreateTriMesh(parent_scene.space, _triMeshData, parent_scene.triCallback, null, null);
} }
public override bool Flying public override bool Flying

Binary file not shown.

View File

@ -4,8 +4,8 @@ physics = basicphysics
; Prim Storage ; Prim Storage
; if you would like to use sqlite uncomment the following line (and ; if you would like to use sqlite uncomment the following line (and
; comment the NullStorage line) ; comment the NullStorage line)
storage_plugin = "OpenSim.DataStore.MonoSqlite.dll" ;storage_plugin = "OpenSim.DataStore.MonoSqlite.dll"
;storage_plugin = "OpenSim.DataStore.NullStorage.dll" storage_plugin = "OpenSim.DataStore.NullStorage.dll"
startup_console_commands_file = "startup_commands.txt" startup_console_commands_file = "startup_commands.txt"
serverside_object_permissions = false serverside_object_permissions = false