diff --git a/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp b/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp index 1a86f140..89ad6fc5 100644 --- a/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp +++ b/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp @@ -752,11 +752,8 @@ void USGVirtualHandComponent::FImpl::DrawDebugVirtualHand() const const TArray>& JointPositions{HandPose->GetJointPositions()}; const TArray>& JointRotations{HandPose->GetJointRotations()}; - /// FIXME - /// 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); + FSGDebugVirtualHand::Draw(World, WristLocation, WristRotation, JointPositions, JointRotations, + Owner->DebugVirtualHandSettings); } void USGVirtualHandComponent::FImplDeleter::operator()(const FImpl* P) const diff --git a/Source/SenseGlove/Private/SenseGlove/Components/SGWristTrackerComponent.cpp b/Source/SenseGlove/Private/SenseGlove/Components/SGWristTrackerComponent.cpp index 6fb6c5a4..1e336597 100644 --- a/Source/SenseGlove/Private/SenseGlove/Components/SGWristTrackerComponent.cpp +++ b/Source/SenseGlove/Private/SenseGlove/Components/SGWristTrackerComponent.cpp @@ -539,10 +539,7 @@ void USGWristTrackerComponent::FImpl::DrawDebugGizmo() const FRotator& Rotation{Owner->GetComponentRotation()}; const FSGDebugGizmoSettings& DebugGizmoSettings{Owner->GetWristTrackerDebugGizmoSettings()}; - /// 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); + FSGDebugGizmo::Draw(World, Location, Rotation, DebugGizmoSettings); } void USGWristTrackerComponent::FImplDeleter::operator()(const FImpl* P) const diff --git a/Source/SenseGloveSettings/Public/SGSettings/SGSettings.h b/Source/SenseGloveSettings/Public/SGSettings/SGSettings.h index 7e0e64ad..f7a92535 100644 --- a/Source/SenseGloveSettings/Public/SGSettings/SGSettings.h +++ b/Source/SenseGloveSettings/Public/SGSettings/SGSettings.h @@ -111,7 +111,7 @@ private: * Valid only if bDrawDebugWristTrackerGizmo is enabled. */ UPROPERTY(Config, EditDefaultsOnly, Category = "Wrist Tracking Debug", - meta=(EditCondition="bDrawDebugWristTrackerGizmo", EditConditionHides)) + meta=(EditCondition="bDrawWristTrackerDebugGizmo", EditConditionHides)) FSGDebugGizmoSettings WristTrackerDebugGizmoSettings; public: