Blender Git Loki

Git Commits -> Revision 75d77a3

September 8, 2016, 13:23 (GMT)
Allow asset engines to change current dir also from list_dir function.

Rational is, in case of online repo, it may not be practical to decide
whether a path is valid or not from check_dir() callback, which should return
immediately.

So instead, check_dir() can only check whether path **looks** good, and
delegate actual path validation to list_dir (and maybe other similar functions).

That?s what is being tested with Claude engine at least.

Commit Details:

Full Hash: 75d77a34756da9888b82c4316f743767e509470b
Parent Commit: 44c099d
Lines Changed: +14, -4

4 Modified Paths:

/source/blender/blenkernel/BKE_asset_engine.h (+2, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+10, -1) (Diff)
/source/blender/editors/space_file/filelist.h (+1, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021