Auto select textures after generating them

This commit is contained in:
JannisX11 2020-07-18 12:40:23 +02:00
parent ff150d4672
commit a6aa3bad44

View File

@ -93,7 +93,7 @@ const TextureGenerator = {
folder: options.folder ? options.folder : 'block'
})
function makeTexture(dataUrl) {
texture.fromDataURL(dataUrl).add(false)
texture.fromDataURL(dataUrl).add(false).select()
switch (options.particle) {
case 'auto':
texture.fillParticle();