diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-01 18:02:06 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-01 18:02:06 +0400 |
commit | f3b84c9d52a6c0330f82f22cecba84e6a1647320 (patch) | |
tree | 4f2afa3585564e52461049e6a453162982de33ad /source/blender/editors/physics | |
parent | 3224efc38419201b44503982541aca8eaeb29486 (diff) |
2.5: added generic WM_operator_redo for use as invoke callback, similar
to WM_operator_menu for example, but popping up the redo menu. This is
useful for operators like particles rekey, which makes no sense without
specifying the number of keys.
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/editparticle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/editparticle.c b/source/blender/editors/physics/editparticle.c index 33d1bd66676..3212494234b 100644 --- a/source/blender/editors/physics/editparticle.c +++ b/source/blender/editors/physics/editparticle.c @@ -1821,7 +1821,7 @@ void PARTICLE_OT_rekey(wmOperatorType *ot) /* api callbacks */ ot->exec= rekey_exec; - // XXX show buttons ot->invoke= rekey_invoke; + ot->invoke= WM_operator_redo; ot->poll= PE_poll; /* flags */ |