the-butterfly-effect / tbe

The Butterfly Effect, a realistic physics simulation game
http://the-butterfly-effect.org
GNU General Public License v2.0
96 stars 13 forks source link

Items of same type but different name may end up in same toolbox slot #214

Open Wuzzy2 opened 8 years ago

Wuzzy2 commented 8 years ago

The toolbox is a bit broken: Suppose you have multiple objects of the same type, but different properties and name.

At the beginning, each of them has their own slot in the toolbox as it should be. But if you add them to the scene and then put them back into the toolbox, the

How to reproduce this:

I expect that all wedges are back in their right slots. But in reality, they end up in the slot for big right wedges, the toolbox now shows 6 of them and the slots for medium and small right wedges are empty.

If you add those seemingly “big” wedges back into the scene, you end up with 1 big, 2 medium and 3 small again. So the gameplay is not broken, only how the toolbox displays the objects.

7ecfd77614d380192fa588f0720605824a3d4636