Currently pathfinding uses the same nodenetwork to do the pathfinding for all collision layers. Change this to a separate nodenetwork for each collision layer.
Analysis [Feature Requests]
Makes it possible to implement stuff like hierarchical pathfinding.
Nodes themselves won't have to know if they are in a grid or not. This leads to less code duplication.
More memory usage. Though in practice only a few collision layers will be used and the fact that nodes themselves are simpler might offset this a bit.
Summary
Currently pathfinding uses the same nodenetwork to do the pathfinding for all collision layers. Change this to a separate nodenetwork for each collision layer.
Analysis [Feature Requests]