Fix crash when opening Filter Gallery (19a79497) · Commits · Inkscape / inkscape · GitLab
Martin Owens
·
2026-05-23
·
via Martin Owens activity
Loading
| Original line number |
Diff line number |
Diff line |
|
@@ -163,7 +163,10 @@ cairo_surface_t *FilterSlot::_get_transformed_background() const |
|
|
|
|
|
cairo_surface_t *tbg = nullptr;
|
|
|
|
|
|
if (auto bg = const_cast<FilterSlot *>(this)->getcairo(NR_FILTER_BACKGROUNDIMAGE)) {
|
|
|
auto bg_iter = _slots.find(NR_FILTER_BACKGROUNDIMAGE);
|
|
|
if (bg_iter != _slots.end()) {
|
|
|
auto bg = bg_iter->second;
|
|
|
|
|
|
tbg = cairo_surface_create_similar(
|
|
|
bg, cairo_surface_get_content(bg),
|
|
|
_slot_w, _slot_h);
|
|
|
Loading
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。