Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
GiderosPlayer.exe assertion failure when passing empty argument list to b2.PolygonShape.set — Gideros Forum

GiderosPlayer.exe assertion failure when passing empty argument list to b2.PolygonShape.set

ndossndoss Guru
edited November 2011 in Bugs and issues

The following code:

shape = b2.PolygonShape.new()
shape:set()

causes the GiderosPlayer to shutdown with a runtime assertion:

Program C:\Program Files\Giderso\GiderosPlayer.exe
File: ..\external\Box2D_v2.2.1\Box2D\Collision\Shapes\b2POlygonShape.cpp
Line: 122
Expression: "3 <=count && count <=8"

I know this is invalid usage of the "set" method, but thought I'd report this since it's the only time that GiderosPlayer has asserted on me.

--ND

Comments

Sign In or Register to comment.