diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-05-15 20:42:39 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-05-15 20:42:39 +0400 |
commit | f60528687f53e039a6ec7ee611a90af361616b10 (patch) | |
tree | 0db0d451bb1b9b387406f4bcfbe3f05d105c490f /source/blender/editors/physics | |
parent | b0ced3ef832be68e0f2939d7df47fe0f08507d82 (diff) |
Fix for [#27142] manipulator in particle mode does not work
* Manipulator operator wasn't registered in particle mode.
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/physics_ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/physics/physics_ops.c b/source/blender/editors/physics/physics_ops.c index aafa5a185ed..56bd8b97532 100644 --- a/source/blender/editors/physics/physics_ops.c +++ b/source/blender/editors/physics/physics_ops.c @@ -110,6 +110,9 @@ static void keymap_particle(wmKeyConfig *keyconf) WM_keymap_add_item(keymap, "PARTICLE_OT_hide", HKEY, KM_PRESS, 0, 0); RNA_boolean_set(WM_keymap_add_item(keymap, "PARTICLE_OT_hide", HKEY, KM_PRESS, KM_SHIFT, 0)->ptr, "unselected", 1); + kmi = WM_keymap_verify_item(keymap, "VIEW3D_OT_manipulator", LEFTMOUSE, KM_PRESS, KM_ANY, 0); + RNA_boolean_set(kmi->ptr, "release_confirm", 1); + WM_keymap_add_item(keymap, "PARTICLE_OT_brush_edit", LEFTMOUSE, KM_PRESS, 0, 0); WM_keymap_add_item(keymap, "PARTICLE_OT_brush_edit", LEFTMOUSE, KM_PRESS, KM_SHIFT, 0); |