Skip to content

Commit

Permalink
Editor: Add support for pic extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Dec 24, 2021
1 parent 9f56628 commit 5340bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/js/libs/ui.three.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class UITexture extends UISpan {
const extension = file.name.split( '.' ).pop().toLowerCase();
const reader = new FileReader();

if ( extension === 'hdr' ) {
if ( extension === 'hdr' || extension === 'pic' ) {

reader.addEventListener( 'load', function ( event ) {

Expand Down

0 comments on commit 5340bf3

Please sign in to comment.