Merge pull request #11819 from hyperlogic/bug-fix/avatar-eye-height

Bug fix for MyAvatar.getEyeHeight()
This commit is contained in:
Dante Ruiz 2017-11-15 13:20:30 -08:00 committed by GitHub
commit b42704012e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1579,7 +1579,7 @@ float Avatar::getEyeHeight() const {
if (QThread::currentThread() != thread()) {
float result = DEFAULT_AVATAR_EYE_HEIGHT;
BLOCKING_INVOKE_METHOD(const_cast<Avatar*>(this), "getHeight", Q_RETURN_ARG(float, result));
BLOCKING_INVOKE_METHOD(const_cast<Avatar*>(this), "getEyeHeight", Q_RETURN_ARG(float, result));
return result;
}