texture:: fixed some problems with saving

This commit is contained in:
Zeno Rogue 2018-05-03 12:43:05 +02:00
parent 920a3a91fd
commit 09adfbdc45
1 changed files with 4 additions and 0 deletions

View File

@ -484,6 +484,10 @@ void texture_config::saveFullTexture(string tn) {
addMessage(XLAT("Saving full texture to %1...", tn));
dynamicval<unsigned> dd(grid_color, 0);
dynamicval<unsigned> dm(mesh_color, 0);
dynamicval<ld> dx(vid.xposition, 0);
dynamicval<ld> dy(vid.yposition, 0);
dynamicval<ld> dvs(vid.scale, (pmodel == mdDisk && !euclid) ? 1 : vid.scale);
dynamicval<bool> dro(rug::rugged, false);
texture::saving = true;
drawscreen();