mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-12 09:35:26 +00:00
renderer: hotfix a regression of the partial rendering
artifacts can be remained by wrong conditional logic. now it's fixed.
This commit is contained in:
parent
8390cb1def
commit
c9aba593e0
1 changed files with 1 additions and 2 deletions
|
@ -293,9 +293,8 @@ struct SceneImpl : Scene
|
||||||
paint->unref();
|
paint->unref();
|
||||||
paints.erase(itr++);
|
paints.erase(itr++);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (effects || fixed) impl.damage(vport); //redraw scene full region
|
|
||||||
if (fixed && impl.renderer) impl.renderer->partial(recover);
|
if (fixed && impl.renderer) impl.renderer->partial(recover);
|
||||||
|
if (effects || fixed) impl.damage(vport); //redraw scene full region
|
||||||
|
|
||||||
return Result::Success;
|
return Result::Success;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue