rename variable

This commit is contained in:
Mamadou Babaei
2024-07-05 23:06:26 +02:00
parent 279f3fb20e
commit 56a080aaaa
@@ -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;
}