Blender Git Loki

Git Commits -> Revision 724370b

Revision 724370b by Campbell Barton (master)
October 3, 2020, 14:45 (GMT)
Cleanup: use BLI_path_join in appdir.c to simplify logic

Change `test_path` function so:

- Joining paths calls a function instead of being performed inline.
- Optional NULL paths must always be ordered last (easier to follow).

Other minor changes:

- Remove FIXME comment is it's handled properly by BLI_path_join.
- The wrong size was being used copying into `targetpath`.

Commit Details:

Full Hash: 724370b2f9727c007b911c036183b844dbc2ab59
Parent Commit: 0bae266
Lines Changed: +31, -61

1 Modified Path:

/source/blender/blenkernel/intern/appdir.c (+31, -61) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021