diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-12-12 17:54:16 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-12-12 17:54:16 +0300 |
commit | 7415b9ffa310d8f55e38861b84d2f275f4d36370 (patch) | |
tree | d5181a19ce38767e641ab74a0588d78a7c7a63a4 /source/blender/makesrna/intern/rna_depsgraph.c | |
parent | 440d1042798113a0e8115ea1f1d016a44712e7a0 (diff) |
Fix (unreported) some RNA func definitions setting flags of other func parameters!
Both found cases where luckily harmless, though...
Diffstat (limited to 'source/blender/makesrna/intern/rna_depsgraph.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_depsgraph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index b0e02a4eeb0..2748bd8b877 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -97,8 +97,7 @@ static void rna_def_depsgraph(BlenderRNA *brna) func = RNA_def_function(srna, "debug_rebuild", "rna_Depsgraph_debug_rebuild"); RNA_def_function_flag(func, FUNC_USE_MAIN); - RNA_def_parameter_flags(parm, 0, PARM_REQUIRED); - + func = RNA_def_function(srna, "debug_stats", "rna_Depsgraph_debug_stats"); RNA_def_function_ui_description(func, "Report the number of elements in the Dependency Graph"); RNA_def_function_flag(func, FUNC_USE_REPORTS); |