mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-17 16:20:13 +08:00
Fix #1280 Cut shotcut not updating molang inputs
Wrong interpolation when creating keyframe between discontinuous keyframes Timeline graph axis now changes while not open when focusing an input
This commit is contained in:
parent
cd4b366e7a
commit
9f90b69e7e
@ -169,7 +169,7 @@ class Keyframe {
|
||||
let this_data_point = (this.data_points.length > 1 && this.time < other.time) ? 1 : 0;
|
||||
let other_data_point = (other.data_points.length > 1 && this.time > other.time) ? 1 : 0;
|
||||
if (allow_expression && this.get(axis, this_data_point) === other.get(axis, other_data_point)) {
|
||||
return this.get(axis)
|
||||
return this.get(axis, this_data_point);
|
||||
} else {
|
||||
let calc = this.calc(axis, this_data_point);
|
||||
return calc + (other.calc(axis, other_data_point) - calc) * amount;
|
||||
@ -1001,7 +1001,7 @@ Interface.definePanels(function() {
|
||||
})
|
||||
},
|
||||
focusAxis(axis) {
|
||||
if (Timeline.vue.graph_editor_open && 'xyz'.includes(axis)) {
|
||||
if ('xyz'.includes(axis)) {
|
||||
Timeline.vue.graph_editor_axis = axis;
|
||||
}
|
||||
},
|
||||
|
@ -29,7 +29,7 @@ const TextureGenerator = {
|
||||
form: {
|
||||
name: {label: 'generic.name', value: 'texture'},
|
||||
folder: {label: 'dialog.create_texture.folder', condition: Format.id == 'java_block'},
|
||||
type: {label: 'dialog.create_texture.type', type: 'select', condition: Cube.all.length || Mesh.all.length, options: type_options},
|
||||
type: {label: 'dialog.create_texture.type', type: 'select', options: type_options},
|
||||
section2: "_",
|
||||
|
||||
resolution: {label: 'dialog.create_texture.pixel_density', description: 'dialog.create_texture.pixel_density.desc', type: 'select', value: 16, condition: (form) => (form.type == 'template'), options: {
|
||||
|
2
lib/VuePrismEditor.min.js
vendored
2
lib/VuePrismEditor.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user