Summary: | Ratio with a weird curve creates lag in the first stroke. Video included | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | RamonMiranda <mirandagraphic> |
Component: | * Unknown | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, halla |
Priority: | NOR | ||
Version: | 5.0.6 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/43c7b62ae982f0ec6e20208d6ea0367d9ddaff70 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | The curve that creates the lag |
Description
RamonMiranda
2022-07-13 09:12:53 UTC
Hi, Ramon! I've found the reson of the slowdown :) When the ratio is null, then the brush has a zero height, so Krita spits a warning into the terminal/debug-app, which makes it so slow :) The question is, what is the expected behavior of the brush, when ratio is null? Should it be just empty or have at least one pixel in height? Git commit f4e04fb827c03857853dab9e778cd29cd062d7a9 by Dmitry Kazakov. Committed on 02/08/2022 at 11:29. Pushed by dkazakov into branch 'master'. Fix a slowdown when attaching dynamic sensor to Ratio option M +3 -1 libs/brush/kis_qimage_pyramid.cpp https://invent.kde.org/graphics/krita/commit/f4e04fb827c03857853dab9e778cd29cd062d7a9 Git commit 43c7b62ae982f0ec6e20208d6ea0367d9ddaff70 by Dmitry Kazakov. Committed on 02/08/2022 at 11:29. Pushed by dkazakov into branch 'krita/5.1'. Fix a slowdown when attaching dynamic sensor to Ratio option M +3 -1 libs/brush/kis_qimage_pyramid.cpp https://invent.kde.org/graphics/krita/commit/43c7b62ae982f0ec6e20208d6ea0367d9ddaff70 Hi, Ramon! There seems to be no use in trying to limit effect of the ratio sensor to 1px, so I just removed the warning :) |