mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-21 08:00:25 +00:00
auto-reset variation to variation_for when setting geometry
This commit is contained in:
parent
2449895b49
commit
e90e0f861e
@ -1287,6 +1287,7 @@ EX void set_geometry(eGeometry target) {
|
||||
if(bt::in() || WDIM == 3 || kite::in() || arb::in()) if(!hybri) variation = eVariation::pure;
|
||||
#endif
|
||||
if(S3 >= OINF) variation = eVariation::pure;
|
||||
if(INVERSE) variation = gp::variation_for(gp::param);
|
||||
if(ginf[target].default_variation == eVariation::pure && geometry != gArchimedean)
|
||||
variation = eVariation::pure;
|
||||
if(was_default) pmodel = default_model();
|
||||
|
Loading…
Reference in New Issue
Block a user