| Summary: | Saved onion skin opacity decreases each time Krita is opened | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Nicholas LaPointe <nicholaslapointe8> |
| Component: | Animation | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/krita/35c53e861d78b6a0b2ed7c96f99ec8ffce319075 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Nicholas LaPointe
2017-08-30 02:17:47 UTC
Git commit 35c53e861d78b6a0b2ed7c96f99ec8ffce319075 by Boudewijn Rempt. Committed on 23/11/2017 at 09:17. Pushed by rempt into branch 'master'. Store onion skin opacity as qreal to avoid rounding errors Because we convert onion skin opacity between a range of 0..100 and 0..255, we need to store it as a qreal and correctly round it. M +1 -1 plugins/dockers/animation/kis_equalizer_widget.h M +2 -2 plugins/dockers/animation/onion_skins_docker.cpp https://commits.kde.org/krita/35c53e861d78b6a0b2ed7c96f99ec8ffce319075 |