mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-17 11:30:09 +00:00
irr torus works only in orientable for now -- disabled for other
This commit is contained in:
parent
f03c5b5c1d
commit
2fb1210811
@ -509,6 +509,7 @@ EX namespace euc {
|
||||
|
||||
EX bool valid_irr_torus() {
|
||||
if(!IRREGULAR) return true;
|
||||
if(eu.twisted) return false;
|
||||
for(int i=0; i<2; i++) {
|
||||
auto x = eu.user_axes[i];
|
||||
coord dm = eutester;
|
||||
|
@ -751,7 +751,7 @@ EX namespace gp {
|
||||
dialog::addBoolItem(XLAT("irregular"), IRREGULAR, 'i');
|
||||
dialog::add_action(dialog::add_confirmation([=] () {
|
||||
if(min_quality && !irr::bitruncations_requested) irr::bitruncations_requested++;
|
||||
if(euclid && !bounded) {
|
||||
if(euclid && (!bounded || nonorientable)) {
|
||||
println(hlog, XLAT("To create Euclidean irregular tesselations, first enable a torus"));
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user