diff --git a/archimedean.cpp b/archimedean.cpp index 4b2dfb7e..5744c994 100644 --- a/archimedean.cpp +++ b/archimedean.cpp @@ -1109,7 +1109,12 @@ int readArgs() { shift(); load_symbol(args(), true); showstartmenu = false; } - else if(argis("-dual")) { PHASEFROM(2); set_variation(eVariation::dual); } + else if(argis("-dual")) { + PHASEFROM(2); + if(in()) + set_variation(eVariation::dual); + else gp::dual_of_current(); + } else if(argis("-d:arcm")) launch_dialog(show); else return 1; diff --git a/geom-exp.cpp b/geom-exp.cpp index 62c35243..7a5202c4 100644 --- a/geom-exp.cpp +++ b/geom-exp.cpp @@ -1306,14 +1306,17 @@ int read_geom_args() { } else if(argis("-unrectified")) { PHASEFROM(2); + gp::param = gp::univ_param(); set_variation(eVariation::unrectified); } else if(argis("-untruncated")) { PHASEFROM(2); + gp::param = gp::univ_param(); set_variation(eVariation::untruncated); } else if(argis("-warped")) { PHASEFROM(2); + gp::param = gp::univ_param(); set_variation(eVariation::warped); } #if MAXMDIM >= 4