Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Make sure we use get uniquely seeded random numbers to generate
random symbol colors Since qsrand is thread-specific, we can't rely on qrand() to return uniquely seeded random numbers when not in the main thread. Instead, just use the c++11 random number generators to get better quality random colors for new layers. Fixes processing outputs always have the same (yuck) brown color.
- Loading branch information
1 parent
4646932
commit 872871f
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters