rename variable

This commit is contained in:
Mamadou Babaei
2024-08-16 18:00:56 +02:00
parent 297aec2531
commit cb11ea6a99
@@ -614,7 +614,7 @@ void USGVirtualHandComponent::FImpl::UpdateVisibility()
const bool bGotMotionControllerData = Owner->GetMotionControllerData(MotionControllerData);
const bool bHandDataAvailable = bGotMotionControllerData && MotionControllerData.bValid;
const bool bIsHandVisible = Owner->GetVisibleFlag();
const bool bShouldHandBeVisibleWhenHandDataUnavailable = Owner->IsVisibleWhenHandDataUnavailable();
const bool bShouldBeVisibleWhenHandDataUnavailable = Owner->IsVisibleWhenHandDataUnavailable();
bool bSetNewVisibility = false;
@@ -633,7 +633,7 @@ void USGVirtualHandComponent::FImpl::UpdateVisibility()
{
if (bIsHandVisible)
{
if (bShouldHandBeVisibleWhenHandDataUnavailable)
if (bShouldBeVisibleWhenHandDataUnavailable)
{
bSetNewVisibility = false;
}
@@ -644,7 +644,7 @@ void USGVirtualHandComponent::FImpl::UpdateVisibility()
}
else
{
if (bShouldHandBeVisibleWhenHandDataUnavailable)
if (bShouldBeVisibleWhenHandDataUnavailable)
{
bSetNewVisibility = true;
}