Skip to content

Commit

Permalink
Removing duplicate usage of getImageType
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieljtaylor committed Feb 4, 2022
1 parent 7a24647 commit df15e62
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ddimport.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,6 @@ class DDImporter extends Application
//placement math done.
//Now use the image direct, in case of only one image and no conversion required
var image_type = '?'
if (files.length == 1){
image_type = DDImporter.getImageType(atob(files[0].image.substr(0,8)));
}

// This code works for both single files and multiple files and supports resizing during scene generation
// Use a canvas to place the image in case we need to convert something
Expand Down

0 comments on commit df15e62

Please sign in to comment.