Skip to content

Commit

Permalink
Small fix to the asset packer
Browse files Browse the repository at this point in the history
  • Loading branch information
crudelios committed Jan 12, 2024
1 parent 898414c commit b74aa11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions res/asset_packer/src/asset_packer.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ static void create_image_xml_line(const asset_image *image)

static void create_layer_xml_line(const layer *l)
{
if (!l->original_image_group && !l->original_image_id && !l->width && !l->height) {
return;
}
xml_exporter_new_element("layer", 1);

add_attribute_string("group", l->original_image_group);
Expand Down

0 comments on commit b74aa11

Please sign in to comment.