comment out unused code in OdeScene.TriCallback()

bulletsim
Justin Clark-Casey (justincc) 2011-08-01 06:47:45 +01:00
parent ccb4b76242
commit 40a78db182
1 changed files with 12 additions and 12 deletions

View File

@ -1423,18 +1423,18 @@ namespace OpenSim.Region.Physics.OdePlugin
public int TriCallback(IntPtr trimesh, IntPtr refObject, int triangleIndex) public int TriCallback(IntPtr trimesh, IntPtr refObject, int triangleIndex)
{ {
String name1 = null; // String name1 = null;
String name2 = null; // String name2 = null;
//
if (!geom_name_map.TryGetValue(trimesh, out name1)) // if (!geom_name_map.TryGetValue(trimesh, out name1))
{ // {
name1 = "null"; // name1 = "null";
} // }
//
if (!geom_name_map.TryGetValue(refObject, out name2)) // if (!geom_name_map.TryGetValue(refObject, out name2))
{ // {
name2 = "null"; // name2 = "null";
} // }
// m_log.InfoFormat("TriCallback: A collision was detected between {1} and {2}. Index was {3}", 0, name1, name2, triangleIndex); // m_log.InfoFormat("TriCallback: A collision was detected between {1} and {2}. Index was {3}", 0, name1, name2, triangleIndex);