Merge branch 'master' of http://github.com/worklist/hifi into few_avatar_resizing_correction

This commit is contained in:
atlante45 2013-07-16 12:05:11 -07:00
commit b10c395440

View file

@ -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();
}