Update to Cubism 4 SDK for Web R2

master
wada 2021-03-09 10:36:29 +09:00
parent c80e158a66
commit 4b2130bca9
3 changed files with 12 additions and 9 deletions

View File

@ -5,13 +5,14 @@ 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/). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [4-r.2] - 2021-03-09
### Fixed ### Fixed
* Fix implementation of `iterator#increment` in `csmmap` and `csmvector`. * Fix implementation of `iterator#increment` in `csmmap` and `csmvector`.
* Fix delay in starting fade-out for expressions. * Fix delay in starting fade-out for expressions.
* Fix Physics input reflect flag on evaluate. * 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. * Fix `Int` to `Float` when getting `PhysicsSettings.Vertices.Radius` in `physics3.json` parsing.
* **[INFO]** This fix may change the behavior of the physics operations. * **[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`. The behavior changes if the value of `PhysicsSettings.Vertices.Radius` in `physics3.json` is less than `1.0`.
@ -24,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed ### Changed
* Rename the function name that handles seconds from `Time` to `Seconds`. * 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 ## [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. * 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 [4-r.1]: https://github.com/Live2D/CubismWebFramework/compare/ce2585a919ac6e99f64dd468933772c6f1abbcc7...4-r.1

View File

@ -17,13 +17,14 @@ Live2D Cubism 4 Editor で出力したモデルをアプリケーションで利
### Node.js ### Node.js
* 13.7.0 * 15.11.0
* 12.14.1 * 14.16.0
* 10.18.1 * 12.21.0
* 10.24.0
### TypeScript ### TypeScript
3.7.5 4.2.2
## 開発環境構築 ## 開発環境構築

View File

@ -26,7 +26,7 @@ export class CubismModelMatrix extends CubismMatrix44 {
this._width = w !== undefined ? w : 0.0; this._width = w !== undefined ? w : 0.0;
this._height = h !== undefined ? h : 0.0; this._height = h !== undefined ? h : 0.0;
this.setHeight(1.0); this.setHeight(2.0);
} }
/** /**