Skip to content

Commit

Permalink
just ignore unsupported layers
Browse files Browse the repository at this point in the history
  • Loading branch information
otrocodigo committed Jul 2, 2023
1 parent aaab65f commit 6a867bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/kra/parser.d
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void importAttributes(ref KRA kra, ref DOMEntity!string layerEntity)
kra.layers ~= groupEnd;
break;
default:
assert(0, "Unsupported nodetype.");
break;
}

}
Expand Down Expand Up @@ -315,7 +315,7 @@ void extractLayer(ref Layer layer, bool crop)
bytesPerChannel = 2;
break;
default:
assert(0, "Unsupported colormode.");
break;
}

// array of indices representing pixel components
Expand Down

0 comments on commit 6a867bd

Please sign in to comment.