Skip to content

Commit

Permalink
camelcase option and add WEBP to texture exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
christaggart committed Oct 4, 2022
1 parent 7f8b4d3 commit db26b8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/dev/serializers/src/glTF/2.0/glTFMaterialExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,9 @@ export class _GLTFMaterialExporter {
case "image/png":
mimeType = ImageMimeType.PNG;
break;
case "image/webp":
mimeType = ImageMimeType.WEBP;
break;
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/dev/serializers/src/glTF/2.0/glTFSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface IExportOptions {
/**
* Indicates the desired export mimetype. Default is png.
*/
mimetype?: ImageMimeType;
mimeType?: ImageMimeType;
}

/**
Expand Down

0 comments on commit db26b8a

Please sign in to comment.