restitution bug?

If I uncomment out this line in b2settings.h
To use pixels the restitution seems to be ignored and looks like it's zero for
all bodies.
At least in the TestBed examples.
// Use this for pixels:
const float32 b2_lengthUnitsPerMeter = 50.0f;

Mike
This is because the test bed examples are designed for meters. If they were drawn with pixel units they would be tiny.
Ok, that was it! Thanks..
I scaled all the sizes in the varying restitution demo by 10.
Although the 2nd from the right circle bounces but comes to
rest on the ground it seems prematurely. Like a piece of chewing gum falling to the ground..
I did set bd.allowSleep = false
in case it was falling asleep on the ground before it had a chance to bounce back up.

Ok..never mind..I forgot to scale the gravity ..looks great now.
I wonder if it would be better to keep b2_lengthUnitsPerMeter = 1.0f
and then scale all the positions to fit on screen?
Mike

Original thread: https://box2d.org/forum/viewtopic.php?t=130