/ QGIS Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing 1 changed file with 8 additions and 1 deletion.