[Bf-blender-cvs] [116613ac4d9] asset-engine: Fix type of itemf RNA callback...

Bastien Montagne noreply at git.blender.org
Tue Oct 31 17:33:55 CET 2017


Commit: 116613ac4d9ffaf6a5c444fb99454f739ca20f2f
Author: Bastien Montagne
Date:   Tue Oct 31 17:33:35 2017 +0100
Branches: asset-engine
https://developer.blender.org/rB116613ac4d9ffaf6a5c444fb99454f739ca20f2f

Fix type of itemf RNA callback...

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

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

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

diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 6fd2fb1c4e9..b35c3159fff 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -1643,7 +1643,7 @@ static void rna_FileBrowser_AE_type_enum_set(PointerRNA *ptr, const int value)
 	}
 }
 
-static EnumPropertyItem *rna_FileBrowser_AE_type_enum_itemf(
+static const EnumPropertyItem *rna_FileBrowser_AE_type_enum_itemf(
         bContext *UNUSED(C), PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free)
 {
 	EnumPropertyItem *items = NULL;



More information about the Bf-blender-cvs mailing list