diff options
Diffstat (limited to 'source/blender/editors/metaball')
-rw-r--r-- | source/blender/editors/metaball/mball_edit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/metaball/mball_edit.c b/source/blender/editors/metaball/mball_edit.c index 3751f8875f6..09200514c0f 100644 --- a/source/blender/editors/metaball/mball_edit.c +++ b/source/blender/editors/metaball/mball_edit.c @@ -517,7 +517,7 @@ void MBALL_OT_reveal_metaelems(wmOperatorType *ot) /* Select MetaElement with mouse click (user can select radius circle or * stiffness circle) */ -void mouse_mball(bContext *C, short mval[2], int extend) +int mouse_mball(bContext *C, short mval[2], int extend) { static MetaElem *startelem=NULL; Object *obedit= CTX_data_edit_object(C); @@ -588,8 +588,12 @@ void mouse_mball(bContext *C, short mval[2], int extend) mb->lastelem= act; WM_event_add_notifier(C, NC_GEOM|ND_SELECT, mb); + + return 1; } } + + return 0; } |