Fix Int to Float when getting PhysicsSettings.Vertices.Radius in physics3.json parsing
parent
901d6c356e
commit
a372dac9ca
|
@ -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
|
||||
|
||||
|
|
|
@ -609,7 +609,7 @@ export namespace Live2DCubismFramework {
|
|||
.getValueByString(Vertices)
|
||||
.getValueByIndex(vertexIndex)
|
||||
.getValueByString(Radius)
|
||||
.toInt();
|
||||
.toFloat();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue