mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:01:09 +02:00
21387: Fixed issue with av scaling via script
This commit is contained in:
parent
359642eb0e
commit
232382e6d0
1 changed files with 1 additions and 1 deletions
|
@ -2532,7 +2532,7 @@ float MyAvatar::getAvatarScale() {
|
||||||
void MyAvatar::setAvatarScale(float val) {
|
void MyAvatar::setAvatarScale(float val) {
|
||||||
|
|
||||||
if (QThread::currentThread() != thread()) {
|
if (QThread::currentThread() != thread()) {
|
||||||
QMetaObject::invokeMethod(this, "setScale", Q_ARG(float, val));
|
QMetaObject::invokeMethod(this, "setAvatarScale", Q_ARG(float, val));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue