Bug 367873

Summary: Fuzzy Stroke doesn't work correctly in windows
Product: [Applications] krita Reporter: Bollebib <kwadraatnope>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metashinryu, nathan
Priority: NOR    
Version: 3.0.1 Beta   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Bollebib 2016-08-26 19:58:56 UTC
Rotation and other dynamics  don't seem to work correctly for windows.


tested in beta with multiple brushes


just activate fuzzy stroke on rotation on a few image brushes to reproduce
Comment 1 wolthera 2016-09-22 10:19:10 UTC
*** Bug 368274 has been marked as a duplicate of this bug. ***
Comment 2 Luis Payano 2016-10-06 23:34:07 UTC
Can confirm on windows 7:

https://youtu.be/gdM5lMwoCj4

It seems to give a different but constant result while mirroring on canvas.
Comment 3 Halla Rempt 2016-10-09 11:25:34 UTC
Git commit 2c0bc2a25f793b7773af271a5d0695794b0d49d0 by Boudewijn Rempt.
Committed on 09/10/2016 at 11:20.
Pushed by rempt into branch 'master'.

Fix the randomness of KisRandomSource

The root cause probably was all the places where srand was called,
but after this change, textures are random again. This was a problem
on Windows only, probably because the resolution of time() is too
low. But that's a guess.
Related: bug 345196, bug 370246, bug 363663
Closed phabricator task T3887,T3968

M  +22   -5    libs/image/brushengine/kis_random_source.cpp

http://commits.kde.org/krita/2c0bc2a25f793b7773af271a5d0695794b0d49d0