Victor Blomqvist
                                            Victor Blomqvist
                                        
                                    Do you call into Pymunk from multiple threads? Pymunk is not threadsafe, so if you call its methods from multiple threads it might break.
I tried your code and managed to reproduce the error. To check the threading theory I rewrote the pool to use a for loop instead, but it seems like it...
What does `n_genes` control? I mean, what happens to the physics objects?
Ah, it became a bit easier to validate different theories around this error when I could trigger the error more often with a higher n_genes. It seems like the error...
Ok, great that you found a workaround! I will still keep this issue open for a while, while I research it a bit more.
Thanks for the report. It seems like `glColor3f` is no longer available in pyglet 2.0. If you want to run it you will have to use pyglet 1.5 until its...
Note to self: Just now pyglet 2 was released. Should update pymunk to use that instead of 1.5
Yes, this is something Ive been thinking about how to handle. On one side I think its very nice that several different drawing libraries are included with pymunk out of...
Right now Im thinking about renaming the existing implementation to pyglet_15_util or pyglet_legacy_util or something similar, and then upgrade pyglet_util to pyglet2. At least then I wont be stuck with...
Ah, there you said something. That could be a nice solution, let pyglet_util check for pyglet >=2, and if not load the legacy stuff instead. I will try it out.