Open kevinfoley opened 2 years ago
This is likely a race condition somewhere...
A possible workaround might be to use nvisii.disable_updates() until the loop completes, then call nvisii.enable_updates() at the end.
In the meantime, I'll mark this as a bug to fix on the todo list.
If
nvisii.clear_all()
andnvisii.set_dome_light_texture()
are called too close together, the application will prematurely terminate.Simple test case:
The output from the while loop should keep repeating forever, but in reality, the loop will run a couple of times and then the application will terminate: