preSolve throws error in != subPreSolve and viceversa
What steps will reproduce the problem?
addEventListener(qb2ContactEvent.PRE_SOLVE, contactHandler);
private function contactHandler(evt:qb2ContactEvent):void
{
evt.disableContact();
}
Error at qb2BaseContactEvent.as line 74
changed to:
private function checkForError():void
{
var isError:Boolean = false;
if ( type != qb2ContactEvent.PRE_SOLVE){
isError = true;
}
if (isError){
if (type == qb2SubContactEvent.SUB_PRE_SOLVE){
isError = false;
}
}
if ( isError )
throw new Error("Contacts can only be enabled/disabled for \"pre-solve\"
events.");*/
}
Original issue reported on code.google.com by t.wisnie...@gtempaccount.com on 13 May 2011 at 12:16
Original issue reported on code.google.com by
t.wisnie...@gtempaccount.com
on 13 May 2011 at 12:16