Blender Git Commit Log

Git Commits -> Revision d0253b2

Revision d0253b2 by Campbell Barton (master)
March 22, 2017, 08:34 (GMT)
BLI_path_util: add BLI_path_name_at_index

Utility to get a file/dir in the path by index,
supporting negative indices to start from the end of the path.

Without this it wasn't straightforward to get
the a files parent directory name from a filepath.

Commit Details:

Full Hash: d0253b2ea4f3d196d76d3dd7ce6725abd2edc26b
Parent Commit: 253281f
Lines Changed: +201, -0

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021