Bug 414550 - Assert always true
Summary: Assert always true
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Resource Management (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-26 20:22 UTC by maddin200
Modified: 2019-12-04 13:08 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 maddin200 2019-11-26 20:22:29 UTC
/libs/pigment/resources/KoSegmentGradient.cpp line 237


Q_ASSERT(t >= 0 || t <= 1); // probably && required
Comment 1 Halla Rempt 2019-11-27 10:05:56 UTC
Looks like that code is never executed, since that line is 13 years old...
Comment 2 Halla Rempt 2019-12-04 13:08:59 UTC
Fixed in 71ca2f24e832e4be7453a5708b8b24da546496bc