diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2019-04-16 14:12:28 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2019-04-16 14:16:04 +0300 |
commit | 423d9086e64e5f9bfb175f95e17ca426567af17d (patch) | |
tree | 658799c63b90da2a3b95425b7b3458758bdff308 /source/blender/editors/physics | |
parent | 2e3bc99590d13dc5a1ae2f9f574371f99b0677d6 (diff) |
Fix T63429: Random deselect function lost
Add back the ability to choose the select operation for random select.
Now we allow the operator to specify if the select operation should be
visible in the GUI or not.
Reviewed By: Brecht
Differential Revision: http://developer.blender.org/D4665
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index dcd8f7a93da..f2d9871a99d 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -1814,7 +1814,7 @@ void PARTICLE_OT_select_roots(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; /* properties */ - WM_operator_properties_select_action(ot, SEL_SELECT); + WM_operator_properties_select_action(ot, SEL_SELECT, true); } /************************ select tip operator ************************/ @@ -1884,7 +1884,7 @@ void PARTICLE_OT_select_tips(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; /* properties */ - WM_operator_properties_select_action(ot, SEL_SELECT); + WM_operator_properties_select_action(ot, SEL_SELECT, true); } /*********************** select random operator ************************/ |