mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Update recent thumbnail after loading bedrock texture
This commit is contained in:
parent
edb6d77140
commit
b215e7423f
@ -124,6 +124,7 @@ window.BedrockEntityManager = class BedrockEntityManager {
|
|||||||
if (render_mode == 'layered') {
|
if (render_mode == 'layered') {
|
||||||
updateLayeredTextures();
|
updateLayeredTextures();
|
||||||
}
|
}
|
||||||
|
if (isApp) setTimeout(() => updateRecentProjectThumbnail(), 40);
|
||||||
|
|
||||||
} else if (valid_textures_list.length > 1) {
|
} else if (valid_textures_list.length > 1) {
|
||||||
setTimeout(() => {this.project.whenNextOpen(() => {
|
setTimeout(() => {this.project.whenNextOpen(() => {
|
||||||
@ -200,6 +201,7 @@ window.BedrockEntityManager = class BedrockEntityManager {
|
|||||||
if (render_mode == 'layered') {
|
if (render_mode == 'layered') {
|
||||||
updateLayeredTextures();
|
updateLayeredTextures();
|
||||||
}
|
}
|
||||||
|
if (isApp) setTimeout(() => updateRecentProjectThumbnail(), 40);
|
||||||
}
|
}
|
||||||
}).show()
|
}).show()
|
||||||
})}, 2)
|
})}, 2)
|
||||||
@ -1043,7 +1045,7 @@ var codec = new Codec('bedrock', {
|
|||||||
icon: Format.icon
|
icon: Format.icon
|
||||||
});
|
});
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (Project == project) updateRecentProjectThumbnail();
|
if (Project == project) setTimeout(() => updateRecentProjectThumbnail(), 40);
|
||||||
}, 200)
|
}, 200)
|
||||||
}
|
}
|
||||||
this.parse(model, file.path)
|
this.parse(model, file.path)
|
||||||
|
Loading…
Reference in New Issue
Block a user