路点ok
This commit is contained in:
parent
270d04b9fa
commit
ca38a14dc4
@ -478,10 +478,15 @@ namespace f8
|
||||
std::string path_name = a8::Format("%d-%d", {stage_id, relation_point});
|
||||
std::shared_ptr<a8::XObject> points_xobj = waypoints_json.At(path_name);
|
||||
if (!points_xobj) {
|
||||
abort();
|
||||
path_name = a8::Format("%d-%d", {relation_point, stage_id});
|
||||
points_xobj = waypoints_json.At(path_name);
|
||||
if (!points_xobj) {
|
||||
continue;
|
||||
// abort();
|
||||
}
|
||||
}
|
||||
if (stage_path_hash.find(path_name) != stage_path_hash.end()) {
|
||||
abort();
|
||||
continue;
|
||||
}
|
||||
stage_path_hash[path_name] = std::vector<GridCell*>();
|
||||
std::vector<GridCell*>& path_points = stage_path_hash[path_name];
|
||||
|
Loading…
x
Reference in New Issue
Block a user