rename variable
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user