1
0
Fork 0

Update to Cubism 4 SDK for Web R2

hfjnulyz-patch-1
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,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

View File

@ -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
## 開発環境構築

View File

@ -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);
}
/**