| Summary: | Copy+Dragging a frame onto first frame results in crash | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Bollebib <kwadraatnope> |
| Component: | Animation | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | halla, scottpetrovic |
| Priority: | NOR | ||
| Version First Reported In: | 3.0.2 Alpha | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | http://commits.kde.org/krita/a4ea3c9dcedf0b71092a5f9dec5045ec1adcc804 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Bollebib
2016-09-25 15:50:28 UTC
That's this code:
int KisRasterKeyframeChannel::frameId(KisKeyframeSP keyframe) const
{
KisRasterKeyframe *key = dynamic_cast<KisRasterKeyframe*>(keyframe.data());
Q_ASSERT(key != 0);
return key->frameId;
}
So I suspect that they key is indeed 0....
Crashing for me too on the latest windows build 3.0.1.90. Just confirming this bug. Git commit a4ea3c9dcedf0b71092a5f9dec5045ec1adcc804 by Jouni Pentikäinen. Committed on 28/09/2016 at 10:40. Pushed by jounip into branch 'master'. Fix crash when copying a frame to time 0 M +8 -3 libs/image/kis_paint_device.cc M +3 -1 libs/image/kis_raster_keyframe_channel.cpp http://commits.kde.org/krita/a4ea3c9dcedf0b71092a5f9dec5045ec1adcc804 |