mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-06 08:42:32 -08:00
Nuke correctConstraints
This commit is contained in:
1 parent
5295b9f9f6
commit
57aa975be6
4 files changed
+2
-5
No files matched your search
@@ -134,7 +134,6 @@ data class SkeletonTogglesConfig(
|
||||
val mocapMode: Boolean = false,
|
||||
val useTrackerPositions: Boolean = true,
|
||||
val enforceConstraints: Boolean = true,
|
||||
val correctConstraints: Boolean = true,
|
||||
)
|
||||
|
||||
// Used in SkeletonConfig
|
||||
|
||||
@@ -38,7 +38,6 @@ class SkeletonSettingsBehaviour(
|
||||
mocapMode = config.toggles.mocapMode,
|
||||
useTrackerPositions = config.toggles.useTrackerPositions,
|
||||
enforceConstraints = config.toggles.enforceConstraints,
|
||||
correctConstraints = config.toggles.correctConstraints,
|
||||
),
|
||||
ratios = SkeletonRatios(
|
||||
imputeSpineFromUpperToLower = config.ratios.imputeSpineFromUpperToLower,
|
||||
@@ -70,7 +69,6 @@ class SkeletonSettingsBehaviour(
|
||||
mocapMode = it.mocapMode == true,
|
||||
useTrackerPositions = it.useTrackerPositions == true,
|
||||
enforceConstraints = it.enforceConstraints == true,
|
||||
correctConstraints = it.correctConstraints == true,
|
||||
)
|
||||
} ?: skeletonConfig.toggles,
|
||||
ratios = req.ratios?.let {
|
||||
|
||||
Reference in new issue
Block a user