1
0
Fork 0

Fix Int to Float when getting PhysicsSettings.Vertices.Radius in physics3.json parsing

hfjnulyz-patch-1
Jun Koyama 2020-09-03 20:11:05 +09:00
parent 901d6c356e
commit a372dac9ca
No known key found for this signature in database
GPG Key ID: 293EC5417501B537
2 changed files with 9 additions and 1 deletions

View File

@ -11,6 +11,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* Fix implementation of `iterator#increment` in `csmmap` and `csmvector`.
* Fix delay in starting fade-out for expressions.
* 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,
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.**
### Changed

View File

@ -609,7 +609,7 @@ export namespace Live2DCubismFramework {
.getValueByString(Vertices)
.getValueByIndex(vertexIndex)
.getValueByString(Radius)
.toInt();
.toFloat();
}
/**