mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-11 16:12:06 +08:00
Fix texture mesh rotation order
Make start screen sections deletable Add "name" alias in dialogs
This commit is contained in:
parent
99c0cabd75
commit
c951b2f727
@ -422,7 +422,7 @@ window.Dialog = class Dialog {
|
||||
id = options.id;
|
||||
}
|
||||
this.id = options.id
|
||||
this.title = options.title
|
||||
this.title = options.title || options.name;
|
||||
|
||||
this.lines = options.lines
|
||||
this.form = options.form
|
||||
|
@ -117,6 +117,11 @@ function addStartScreenSection(id, data) {
|
||||
if (!obj[0].parentElement) {
|
||||
$('#start_screen content').append(obj);
|
||||
}
|
||||
return {
|
||||
delete() {
|
||||
obj[0].remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
onVueSetup(function() {
|
||||
|
@ -115,6 +115,7 @@ new NodePreviewController(TextureMesh, {
|
||||
mesh.name = element.uuid;
|
||||
mesh.type = element.type;
|
||||
mesh.isElement = true;
|
||||
mesh.rotation.order = 'ZYX';
|
||||
|
||||
mesh.geometry.setAttribute('highlight', new THREE.BufferAttribute(new Uint8Array(4), 1));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user