ephysics: don't try to set bad body geometry when adding
authorBruno Dilly <bdilly@profusion.mobi>
Wed, 28 Nov 2012 21:47:58 +0000 (21:47 +0000)
committerBruno Dilly <bdilly@profusion.mobi>
Wed, 28 Nov 2012 21:47:58 +0000 (21:47 +0000)
commitf3946716d8b4806b4dcf22cb6d35f3bccd06750f
treeca8966372f0499d46123e5050745d8054fd7f2b7
parent1a1890fabb559afbc693043f8ef782ec0b30f256
ephysics: don't try to set bad body geometry when adding
 boundaries

If render geometry is not set yet, it will try to set a bad geometry
for the boundary boxes.
In this case, let these bodies with default size and only resize them
when render geometry is set.

SVN revision: 79791
legacy/ephysics/src/lib/ephysics_body.cpp