mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 08:23:08 +00:00
fixed the bug with spatial embedding editing via config not working
This commit is contained in:
1 parent
099d033e04
commit
52bc6411fa
2 files changed
+16
-8
No files matched your search
+2
-1
@@ -96,6 +96,7 @@ EX namespace geom3 {
|
||||
}
|
||||
|
||||
EX eSpatialEmbedding spatial_embedding = seDefault;
|
||||
EX eSpatialEmbedding want_spatial_embedding = seNone;
|
||||
EX ld euclid_embed_scale = 1;
|
||||
EX ld euclid_embed_scale_y = 1;
|
||||
EX ld euclid_embed_rotate = 0;
|
||||
@@ -1369,7 +1370,7 @@ EX void invoke_embed(geom3::eSpatialEmbedding se) {
|
||||
if(GDIM == 3) { if(geom3::auto_configure) geom3::switch_fpp(); else geom3::switch_always3(); }
|
||||
if(in_tpp()) geom3::switch_tpp();
|
||||
if(se != geom3::seNone) {
|
||||
geom3::spatial_embedding = se;
|
||||
geom3::want_spatial_embedding = geom3::spatial_embedding = se;
|
||||
if(geom3::auto_configure) geom3::switch_fpp(); else geom3::switch_always3();
|
||||
delete_sky();
|
||||
if(vid.usingGL) resetGL();
|
||||
|
||||
Reference in new issue
Block a user