fixed race generation in complex Euclidean tilings
This commit is contained in:
parent
149a08a746
commit
cbce59d5d2
|
@ -267,6 +267,10 @@ void generate_track() {
|
||||||
|
|
||||||
setdist(s, 6, NULL);
|
setdist(s, 6, NULL);
|
||||||
makeEmpty(s);
|
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<cell*, cell*> parent;
|
||||||
map<int, vector<cell*> > cellbydist;
|
map<int, vector<cell*> > cellbydist;
|
||||||
|
@ -303,6 +307,8 @@ void generate_track() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(euclid && (penrose || archimedean)) permanent_long_distances(goal);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
track = build_shortest_path(s, goal);
|
track = build_shortest_path(s, goal);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue