Skip to content

Commit

Permalink
InputGeomProviderBuilder: add NavMeshData
Browse files Browse the repository at this point in the history
  • Loading branch information
capdevon committed Sep 17, 2024
1 parent 046b7e7 commit c6a6939
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@
*/
public class InputGeomProviderBuilder {

public static final String NAVMESH_IGNORE = "ignoreFromBuild";
private static final Predicate<Spatial> DefaultFilter = sp -> sp.getUserData(NAVMESH_IGNORE) == null;
private static final Predicate<Spatial> DefaultFilter = sp -> sp.getUserData(NavMeshData.JME_NAVMESH_IGNORE) == null;

private InputGeomProviderBuilder() {}

/**
* Performs a search in the SceneGraph to collect all geometries of the supplied
* node. It uses the default filter: If userData "ignoreFromBuild" is set, it
* node. It uses the default filter: if NavMeshData.JME_NAVMESH_IGNORE is set, it
* ignores this space.
*
* @param rootNode The Node to use.
Expand Down

0 comments on commit c6a6939

Please sign in to comment.