mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
add skeleton scale change signal so scripts can detect scaling change
This commit is contained in:
parent
114a45a089
commit
45e58b93e5
2 changed files with 2 additions and 0 deletions
|
@ -2189,6 +2189,7 @@ void MyAvatar::clampScaleChangeToDomainLimits(float desiredScale) {
|
|||
|
||||
setTargetScale(clampedTargetScale);
|
||||
qCDebug(interfaceapp, "Changed scale to %f", (double)_targetScale);
|
||||
emit(scaleChanged());
|
||||
}
|
||||
|
||||
float MyAvatar::getDomainMinScale() {
|
||||
|
|
|
@ -620,6 +620,7 @@ signals:
|
|||
void dominantHandChanged(const QString& hand);
|
||||
void sensorToWorldScaleChanged(float sensorToWorldScale);
|
||||
void attachmentsChanged();
|
||||
void scaleChanged();
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Reference in a new issue