fix a crash when calling one of the SGHandInterpolatorImpl constructors which happens due to unintialized pimpl object
This commit is contained in:
@@ -94,6 +94,7 @@ FSGHandInterpolatorImpl::FSGHandInterpolatorImpl()
|
||||
}
|
||||
|
||||
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const bool bRightHanded)
|
||||
: Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||
{
|
||||
Pimpl->HandInterpolator = FHandInterpolatorType(bRightHanded);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user