mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
Ignore hidden layers in ShaderRenderer
This commit is contained in:
parent
8c7b94a934
commit
3dbf88c9cd
@ -177,6 +177,10 @@ void ShaderRenderer::drawLayerGroup(SkCanvas* canvas,
|
||||
const gfx::ClipF& area)
|
||||
{
|
||||
for (auto layer : group->layers()) {
|
||||
// Ignore hidden layers
|
||||
if (!layer->isVisible())
|
||||
continue;
|
||||
|
||||
switch (layer->type()) {
|
||||
|
||||
case doc::ObjectType::LayerImage: {
|
||||
|
Loading…
Reference in New Issue
Block a user