temporarily disable the debug gizmo for the virtual hand and the wrist tracker due to an esoteric bug in the settings system

This commit is contained in:
Mamadou Babaei
2023-05-19 18:04:46 +02:00
parent 360c669dfd
commit 25e095ab11
3 changed files with 10 additions and 3 deletions
+1
View File
@@ -23,6 +23,7 @@ This release breaks ABI/API compatibility with the previous versions.
### Changed ### Changed
- SenseGlove libraries have been updated to v2.7.1-965f90c with support for Linux AArch64. - SenseGlove libraries have been updated to v2.7.1-965f90c with support for Linux AArch64.
- The Virtual Hand and the Wrist Tracker debug Gizmos (the intended use is only for SenseGlove developers for really low-level stuff; thus won't affect the users of the plugin at all) have been disabled and will be ignored due to an esoteric bug in the settings systems which has been scheduled to be fixed in the future releases.
### Removed ### Removed
@@ -750,8 +750,11 @@ void USGVirtualHandComponent::FImpl::DrawDebugVirtualHand() const
const TArray<TArray<FVector>>& JointPositions{HandPose->GetJointPositions()}; const TArray<TArray<FVector>>& JointPositions{HandPose->GetJointPositions()};
const TArray<TArray<FRotator>>& JointRotations{HandPose->GetJointRotations()}; const TArray<TArray<FRotator>>& JointRotations{HandPose->GetJointRotations()};
FSGDebugVirtualHand::Draw(World, WristLocation, WristRotation, JointPositions, JointRotations, /// FIXME
Owner->DebugVirtualHandSettings); /// We temporarily ignore the debug settings, as for an esoteric reason it always produces conditions,
/// in which the debug gizmo will be drawn!
//FSGDebugVirtualHand::Draw(World, WristLocation, WristRotation, JointPositions, JointRotations,
// Owner->DebugVirtualHandSettings);
} }
void USGVirtualHandComponent::FImplDeleter::operator()(const FImpl* P) const void USGVirtualHandComponent::FImplDeleter::operator()(const FImpl* P) const
@@ -539,7 +539,10 @@ void USGWristTrackerComponent::FImpl::DrawDebugGizmo()
const FRotator& Rotation{Owner->GetComponentRotation()}; const FRotator& Rotation{Owner->GetComponentRotation()};
const FSGDebugGizmoSettings& DebugGizmoSettings{Owner->GetWristTrackerDebugGizmoSettings()}; const FSGDebugGizmoSettings& DebugGizmoSettings{Owner->GetWristTrackerDebugGizmoSettings()};
FSGDebugGizmo::Draw(World, Location, Rotation, DebugGizmoSettings); /// FIXME
/// We temporarily ignore the debug settings, as for an esoteric reason it always produces conditions,
/// in which the debug gizmo will be drawn!
//FSGDebugGizmo::Draw(World, Location, Rotation, DebugGizmoSettings);
} }
void USGWristTrackerComponent::FImplDeleter::operator()(const FImpl* P) const void USGWristTrackerComponent::FImplDeleter::operator()(const FImpl* P) const