Better error reporting to try and catch 6635.
This commit is contained in:
parent
2c2630ef9e
commit
807eef1208
|
@ -689,10 +689,9 @@ static bool collideSingleShapes( const SHAPE* aA, const SHAPE* aB, int aClearanc
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool unsupported_collision = true;
|
wxFAIL_MSG( wxString::Format( "Unsupported collision: %s with %s",
|
||||||
(void) unsupported_collision; // make gcc quiet
|
SHAPE_TYPE_asString( aA->Type() ),
|
||||||
|
SHAPE_TYPE_asString( aB->Type() ) ) );
|
||||||
wxASSERT( unsupported_collision == false );
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue