kons-9
kons-9 copied to clipboard
BUG: shading wrong when window re-opened
Looking for a volunteer for this.
This is a bug on both MacOS and Linux, so is probably an OpenGL issue.
Open window. Create polyhedron. Close window. Open window. Shading is much brighter.
I suspect some OpenGL state is not being reset properly.
Do you mean when you iconify or minimize the window? or after closing it and restarting?
Closing it using the ESC key. Then making a new window.
Can confirm it becomes almost white. Funny thing is, if it crashes then the change in shading doesn't happen.
Can confirm it happens on Windows 64-bit as well as on macOS and Linux.
I'll see if I can figure out how to fix it, but I'm starting without the first clue.