potential problem with shapes in simulator

I was using Gumbo to create shapes for physics bodies. One shape I created was:

local shape\_9 = { 41,-39, 41,-39, 42,-36.5, 20,-30.5, 19,-39.5 }  

Notice that the first two points of the shape are the same.

The simulator crashed with the following error:

Assertion failed: (edge.LengthSquared() > 1.19209290e-7F * 1.19209290e-7F), function Set, file /Users/ansca/.hudson/jobs/Main-DMG/workspace/platform/mac/…/…/external/Box2D_v2.1.2/Box2D/Box2D/Collision/Shapes/b2PolygonShape.cpp, line 149.
/Applications/Corona.243/Corona Terminal: line 9: 49345 Abort trap “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*

Yeah, it’s an error on my part, but it’d be nice if the simulator handled it in a bit nicer way…

Sean. [import]uid: 4993 topic_id: 7002 reply_id: 307002[/import]