[Bf-blender-cvs] [09b3e44] asset-experiments: Reduce recursion to one level (.blend libs do not take that into account anyway).
Bastien Montagne
noreply at git.blender.org
Wed Dec 10 21:17:35 CET 2014
Commit: 09b3e44b22e9c04917a6b850be0398aaa63a4bcf
Author: Bastien Montagne
Date: Wed Dec 10 11:51:25 2014 +0100
Branches: asset-experiments
https://developer.blender.org/rB09b3e44b22e9c04917a6b850be0398aaa63a4bcf
Reduce recursion to one level (.blend libs do not take that into account anyway).
Quicker, and in most cases I think this will be enough for libs and file browsing.
Real asset handling is another question.
===================================================================
M source/blender/editors/space_file/filelist.c
===================================================================
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index 45115cf..7731cf0 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -131,7 +131,7 @@ typedef struct FileList {
short recursion_level;
} FileList;
-#define FILELIST_MAX_RECURSION 3
+#define FILELIST_MAX_RECURSION 1
#define FILENAME_IS_BREADCRUMBS(_n) \
(((_n)[0] == '.' && (_n)[1] == '\0') || ((_n)[0] == '.' && (_n)[1] == '.' && (_n)[2] == '\0'))
More information about the Bf-blender-cvs
mailing list