TheOpenSpaceProgram / new-ospgl

A space exploration game in OpenGL. Devblog: https://tatjam.github.io/index.html
MIT License
42 stars 6 forks source link

Risky use of veh->get_children_of() in symmetry #61

Open tatjam opened 1 year ago

tatjam commented 1 year ago

If symmetry starts behaving very weirdly, for example, by removing pieces that the user has not removed or similar, this function may be the culprit. It doesn't guarantee ordering of the children, while symmetry kind of assumes it does. This is probably fine, but it would be a good idea to investigate!