mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:29:32 +02:00
added scale to settings
This commit is contained in:
parent
d38955aa63
commit
64ba01e23c
1 changed files with 6 additions and 1 deletions
|
@ -1322,6 +1322,10 @@ void Avatar::loadData(QSettings* settings) {
|
|||
|
||||
_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