fixed some pconf/vpconf bugs

This commit is contained in:
Zeno Rogue committed 2020-11-08 12:09:42 +01:00
1 parent 32a61367b0
commit d7351d169a
3 files changed
+8 -4

No files matched your search

+2 -2
View File
@@ -434,12 +434,12 @@ EX namespace models {
dialog::add_action([] { edit_rotation(rotation); });
// if(vpmodel == mdBand && sphere)
if(!in_perspective()) {
if(!in_perspective_v()) {
dialog::addSelItem(XLAT("scale factor"), fts(vpconf.scale), 'z');
dialog::add_action(editScale);
}
if(abs(pconf.alpha-1) > 1e-3 && vpmodel != mdBall && vpmodel != mdHyperboloid && vpmodel != mdHemisphere && vpmodel != mdDisk) {
if(abs(vpconf.alpha-1) > 1e-3 && vpmodel != mdBall && vpmodel != mdHyperboloid && vpmodel != mdHemisphere && vpmodel != mdDisk) {
dialog::addBreak(50);
dialog::addInfo("NOTE: this works 'correctly' only if the Poincaré model/stereographic projection is used.");
dialog::addBreak(50);