BulletSim: add requestor's ID to post taint detail log message.

0.7.6-extended
Robert Adams 2013-08-22 09:07:58 -07:00 committed by Justin Clark-Casey (justincc)
parent 0e4a06edf9
commit 6ade1c6c76
1 changed files with 3 additions and 2 deletions

View File

@ -987,10 +987,11 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
// will replace any previous operation by the same object.
public void PostTaintObject(String ident, uint ID, TaintCallback callback)
{
string uniqueIdent = ident + "-" + ID.ToString();
string IDAsString = ID.ToString();
string uniqueIdent = ident + "-" + IDAsString;
lock (_taintLock)
{
_postTaintOperations[uniqueIdent] = new TaintCallbackEntry(uniqueIdent, callback);
_postTaintOperations[uniqueIdent] = new TaintCallbackEntry(IDAsString, uniqueIdent, callback);
}
return;