[Bf-blender-cvs] [1dcff09] asset-engine: Further rework of file listing handling - complete decouple from OS-related direntry.

Bastien Montagne noreply at git.blender.org
Thu Mar 5 10:10:42 CET 2015


Commit: 1dcff09045aac2c39cd190b72c3d3c16ef82a781
Author: Bastien Montagne
Date:   Mon Feb 16 22:05:32 2015 +0100
Branches: asset-engine
https://developer.blender.org/rB1dcff09045aac2c39cd190b72c3d3c16ef82a781

Further rework of file listing handling - complete decouple from OS-related direntry.

Remove everything not really related to OS representation of file entries.

FileBrowser will now use a complete decoupled version of file representation,
much easier to keep sane behavior this way, easy integration with RNA, etc.

===================================================================

M	source/blender/makesrna/intern/rna_asset.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_asset.c b/source/blender/makesrna/intern/rna_asset.c
index 7b8067f..6c38b30 100644
--- a/source/blender/makesrna/intern/rna_asset.c
+++ b/source/blender/makesrna/intern/rna_asset.c
@@ -25,6 +25,7 @@
  */
 
 #include "BLI_utildefines.h"
+#include "BLI_fileops_types.h"
 #include "BLI_path_util.h"
 
 #include "DNA_space_types.h"
@@ -444,7 +445,7 @@ static void rna_def_asset_engine(BlenderRNA *brna)
 {
 	StructRNA *srna;
 	PropertyRNA *prop;
-	FunctionRNA *func;
+//	FunctionRNA *func;
 	
 	srna = RNA_def_struct(brna, "AssetEngine", NULL);
 	RNA_def_struct_sdna(srna, "AssetEngine");




More information about the Bf-blender-cvs mailing list