diff --git a/resources/assets/src/components/Previewer.vue b/resources/assets/src/components/Previewer.vue index bdfa21d8..73d74fca 100644 --- a/resources/assets/src/components/Previewer.vue +++ b/resources/assets/src/components/Previewer.vue @@ -36,12 +36,12 @@ /> - +
-
+ @@ -144,7 +144,7 @@ export default { }, toggleRun() { this.handles.run.paused = !this.handles.run.paused - this.handles.walk.paused = !this.handles.walk.paused + this.handles.walk.paused = false }, toggleRotate() { this.handles.rotate.paused = !this.handles.rotate.paused diff --git a/resources/assets/tests/components/Previewer.test.ts b/resources/assets/tests/components/Previewer.test.ts index 673b06c3..b53cebc1 100644 --- a/resources/assets/tests/components/Previewer.test.ts +++ b/resources/assets/tests/components/Previewer.test.ts @@ -87,7 +87,7 @@ test('toggle run', () => { const wrapper = mount(Previewer) wrapper.find('.fa-forward').trigger('click') expect(wrapper.vm.handles.run.paused).toBeFalse() - expect(wrapper.vm.handles.walk.paused).toBeTrue() + expect(wrapper.vm.handles.walk.paused).toBeFalse() }) test('toggle rotate', () => { diff --git a/resources/misc/changelogs/en/4.2.0.md b/resources/misc/changelogs/en/4.2.0.md index 7eb26e9e..9bcfa684 100644 --- a/resources/misc/changelogs/en/4.2.0.md +++ b/resources/misc/changelogs/en/4.2.0.md @@ -12,3 +12,4 @@ - Fixed resetting options of "Customize" page. - Fixed that dashboard of user center cannot be centered. (Thanks @outtimes) - Fixed data consistency when deleting texture. +- Fixed that model can't walk after resetting model in skin previewer. diff --git a/resources/misc/changelogs/zh_CN/4.2.0.md b/resources/misc/changelogs/zh_CN/4.2.0.md index dc9035dc..60ddf2da 100644 --- a/resources/misc/changelogs/zh_CN/4.2.0.md +++ b/resources/misc/changelogs/zh_CN/4.2.0.md @@ -12,3 +12,4 @@ - 修复「个性化」页面不能重置选项的问题 - 修复用户中心仪表盘不能居中的问题(感谢 @outtimes) - 修复删除材质时的数据一致性 +- 修复皮肤预览中重置预览后不能使模型行走的问题