more guards added

This commit is contained in:
Zeno Rogue committed 2023-04-11 17:10:04 +02:00
1 parent 3e81697164
commit 8760ac4cfb
8 files changed
+55 -4

No files matched your search

+2
View File
@@ -1295,6 +1295,7 @@ void embedding_method::auto_configure() {
}
EX void invoke_embed(geom3::eSpatialEmbedding se) {
#if MAXMDIM >= 4
if(GDIM == 3) { if(geom3::auto_configure) geom3::switch_fpp(); else geom3::switch_always3(); }
if(in_tpp()) geom3::switch_tpp();
if(se != geom3::seNone) {
@@ -1303,6 +1304,7 @@ EX void invoke_embed(geom3::eSpatialEmbedding se) {
delete_sky();
if(vid.usingGL) resetGL();
}
#endif
}
geom3::eSpatialEmbedding embed_by_name(string ss) {