mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Merge branch 'master' of http://github.com/worklist/hifi into few_avatar_resizing_correction
This commit is contained in:
commit
b10c395440
1 changed files with 6 additions and 1 deletions
|
@ -1321,7 +1321,11 @@ void Avatar::loadData(QSettings* settings) {
|
|||
_voxels.setVoxelURL(settings->value("voxelURL").toUrl());
|
||||
|
||||
_leanScale = loadSetting(settings, "leanScale", 0.5f);
|
||||
|
||||
|
||||
_scale = loadSetting(settings, "scale", 1.0f);
|
||||
setScale(_scale);
|
||||
Application::getInstance()->getCamera()->setScale(_scale);
|
||||
|
||||
settings->endGroup();
|
||||
}
|
||||
|
||||
|
@ -1344,6 +1348,7 @@ void Avatar::saveData(QSettings* set) {
|
|||
set->setValue("voxelURL", _voxels.getVoxelURL());
|
||||
|
||||
set->setValue("leanScale", _leanScale);
|
||||
set->setValue("scale", _scale);
|
||||
|
||||
set->endGroup();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue