paint: clip was substracted from the array for any composite method

Only ClipPath composite method should cause clips subtraction.
This commit is contained in:
Mira Grudzinska 2021-03-14 21:50:00 +01:00 committed by Hermet Park
parent 623a90de7b
commit 95c022da1f

View file

@ -170,7 +170,7 @@ namespace tvg
edata = smethod->update(renderer, outTransform, opacity, clips, newFlag);
}
if (cmpData) clips.pop();
if (cmpData && cmpMethod == CompositeMethod::ClipPath) clips.pop();
return edata;
}