geom3:: fixed a bug with embedded maps being destroyed on restart

This commit is contained in:
Zeno Rogue 2023-12-12 19:18:26 +01:00
parent d2d6167eb9
commit 548e2609ce
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ struct emb_same_in_same : emb_actual {
for(int i=0; i<4; i++) T[i][2] = T[i][3], T[i][3] = 0;
for(int i=0; i<4; i++) T[2][i] = T[3][i], T[3][i] = 0;
T[3][3] = 1;
fixmatrix(T);
if(MDIM == 3) fixmatrix(T); else IPF(fixmatrix(T));
for(int i=0; i<MDIM; i++) for(int j=0; j<MDIM; j++) if(isnan(T[i][j])) return Id;
return T;
}