fixed race generation in complex Euclidean tilings

This commit is contained in:
Zeno Rogue 2019-08-02 18:00:22 +02:00
parent 149a08a746
commit cbce59d5d2
1 changed files with 6 additions and 0 deletions

View File

@ -267,6 +267,10 @@ void generate_track() {
setdist(s, 6, NULL);
makeEmpty(s);
cview(); // needed for some virtualRebases
if(euclid && (penrose || archimedean)) permanent_long_distances(s);
compute_saved_distances(s, 300, 1000000);
map<cell*, cell*> parent;
map<int, vector<cell*> > cellbydist;
@ -303,6 +307,8 @@ void generate_track() {
}
}
if(euclid && (penrose || archimedean)) permanent_long_distances(goal);
try {
track = build_shortest_path(s, goal);
}