From 4b2130bca984e1a5c3714fbe1fae201bc4cff452 Mon Sep 17 00:00:00 2001 From: wada Date: Tue, 9 Mar 2021 10:36:29 +0900 Subject: [PATCH] Update to Cubism 4 SDK for Web R2 --- CHANGELOG.md | 10 ++++++---- README.md | 9 +++++---- src/math/cubismmodelmatrix.ts | 2 +- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfdab81..c02a9d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,25 +5,27 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [Unreleased] +## [4-r.2] - 2021-03-09 ### Fixed * Fix implementation of `iterator#increment` in `csmmap` and `csmvector`. * Fix delay in starting fade-out for expressions. * Fix Physics input reflect flag on evaluate. +* Fix reference size of model matrix. * Fix `Int` to `Float` when getting `PhysicsSettings.Vertices.Radius` in `physics3.json` parsing. * **[INFO]** This fix may change the behavior of the physics operations. The behavior changes if the value of `PhysicsSettings.Vertices.Radius` in `physics3.json` is less than `1.0`. - If you want to return to the behavior before Cubism SDK for Web R1, + If you want to return to the behavior before Cubism SDK for Web R1, change the value of the corresponding `PhysicsSettings.Vertices.Radius` to `0`. * This fix is related to fix applied to `Cubism Editor 4.0.05 beta1` and later. Please see [Cubism Editor Changelog](https://docs.live2d.com/cubism-editor-manual/updates4/). - * **Fix physics and scene blending settings where the length of the pendulum would be converted to an integer when displayed.** + * **Fix physics and scene blending settings where the length of the pendulum would be converted to an integer when displayed.** ### Changed * Rename the function name that handles seconds from `Time` to `Seconds`. +* Avoiding needless namespace syntax to simplify imports by [@cocor-au-lait](https://github.com/cocor-au-lait) ## [4-r.1] - 2020-01-30 @@ -41,5 +43,5 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). * Reformat code using Prettier and ESLint. -[Unreleased]: https://github.com/Live2D/CubismWebFramework/compare/4-r.1...HEAD +[4-r.2]: https://github.com/Live2D/CubismWebFramework/compare/4-r.1...4-r.2 [4-r.1]: https://github.com/Live2D/CubismWebFramework/compare/ce2585a919ac6e99f64dd468933772c6f1abbcc7...4-r.1 diff --git a/README.md b/README.md index a95d6fe..0d89ee2 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,14 @@ Live2D Cubism 4 Editor で出力したモデルをアプリケーションで利 ### Node.js -* 13.7.0 -* 12.14.1 -* 10.18.1 +* 15.11.0 +* 14.16.0 +* 12.21.0 +* 10.24.0 ### TypeScript -3.7.5 +4.2.2 ## 開発環境構築 diff --git a/src/math/cubismmodelmatrix.ts b/src/math/cubismmodelmatrix.ts index 124f35e..a17167c 100644 --- a/src/math/cubismmodelmatrix.ts +++ b/src/math/cubismmodelmatrix.ts @@ -26,7 +26,7 @@ export class CubismModelMatrix extends CubismMatrix44 { this._width = w !== undefined ? w : 0.0; this._height = h !== undefined ? h : 0.0; - this.setHeight(1.0); + this.setHeight(2.0); } /**