Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-16 04:15:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-16 04:15:47 +0300
commit03e924cdee264352fbc8e0a822212a169415185b (patch)
tree5cefc3a6488741f9181f96c0e93c1155d2c05bfc /source/blender/makesrna/intern/rna_wm_api.c
parent61acdb61cb79a34889fca09e640613317c06698a (diff)
mirror modifier vgroup option was doing string name conversion to find the flipped name for every vertex for every weight.
the vertex flip mapping only needs to be made once. warning fixes too.
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm_api.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c
index c69e706e28d..3fa646598d6 100644
--- a/source/blender/makesrna/intern/rna_wm_api.c
+++ b/source/blender/makesrna/intern/rna_wm_api.c
@@ -145,9 +145,10 @@ static void rna_Operator_report(wmOperator *op, int type, char *msg)
}
/* since event isnt needed... */
-static int rna_Operator_enum_search_invoke(bContext *C, wmOperator *op)
+static void rna_Operator_enum_search_invoke(bContext *C, wmOperator *op)
{
WM_enum_search_invoke(C, op, NULL);
+
}
#else
@@ -194,7 +195,7 @@ void RNA_api_wm(StructRNA *srna)
/* invoke enum */
func= RNA_def_function(srna, "invoke_search_popup", "rna_Operator_enum_search_invoke");
- rna_generic_op_invoke(func, 0, 1);
+ rna_generic_op_invoke(func, 0, 0);
/* invoke functions, for use with python */
func= RNA_def_function(srna, "invoke_popup", "WM_operator_ui_popup");