1
0
Fork 0

Fix Physics input reflect flag on evaluate

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

View File

@ -11,6 +11,7 @@ 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 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 `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`.

View File

@ -132,7 +132,7 @@ export namespace Live2DCubismFramework {
parameterDefaultValue[currentInput[i].sourceParameterIndex], parameterDefaultValue[currentInput[i].sourceParameterIndex],
currentSetting.normalizationPosition, currentSetting.normalizationPosition,
currentSetting.normalizationAngle, currentSetting.normalizationAngle,
currentInput[0].reflect, currentInput[i].reflect,
weight weight
); );
} }