Bug 367873 - Fuzzy Stroke doesn't work correctly in windows
Summary: Fuzzy Stroke doesn't work correctly in windows
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: 3.0.1 Beta
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 368274 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-26 19:58 UTC by Bollebib
Modified: 2016-10-09 11:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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