Replaced hard-coded 3 with GEOMETRY_PATH_TRUNCATE variable (defaults to 3).
Now maximum amount of directories to show can be customized by setting that variable.
This is implemented a little different to how the other defaults are implemented, but it seemed more efficient to just set the variable to the default if it wasn't set, because the variable needs to be checked anyway.
Replaced hard-coded 3 with
GEOMETRY_PATH_TRUNCATE
variable (defaults to 3). Now maximum amount of directories to show can be customized by setting that variable.This is implemented a little different to how the other defaults are implemented, but it seemed more efficient to just set the variable to the default if it wasn't set, because the variable needs to be checked anyway.