diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-26 10:55:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-26 10:55:34 +0300 |
commit | de0c269c2803cfe94859f84673f5eb18eea310c0 (patch) | |
tree | 247b5bd4443f0ec62365d717ee7d0fc7c17db6a5 /source/blender/editors/object/object_random.c | |
parent | 2c3c477223dfb45df50e6dcac3fd3712c3cf1fb3 (diff) |
Fix T44821: Making warp shortcut fails
Using OBJECT prefix for editmode operators causes
shortcuts to go into the wrong keymap.
Diffstat (limited to 'source/blender/editors/object/object_random.c')
-rw-r--r-- | source/blender/editors/object/object_random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_random.c b/source/blender/editors/object/object_random.c index 41b26b98047..a293f7a950e 100644 --- a/source/blender/editors/object/object_random.c +++ b/source/blender/editors/object/object_random.c @@ -124,12 +124,12 @@ static int object_rand_verts_exec(bContext *C, wmOperator *op) return OPERATOR_FINISHED; } -void OBJECT_OT_vertex_random(struct wmOperatorType *ot) +void TRANSFORM_OT_vertex_random(struct wmOperatorType *ot) { /* identifiers */ ot->name = "Randomize"; ot->description = "Randomize vertices"; - ot->idname = "OBJECT_OT_vertex_random"; + ot->idname = "TRANSFORM_OT_vertex_random"; /* api callbacks */ ot->exec = object_rand_verts_exec; |