diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-27 16:58:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-27 16:59:36 +0300 |
commit | b6a0027de3a5ee039442f10cf7f9bc1bf3116733 (patch) | |
tree | c91d6b87fa1ee9b52407778c11c5cba945dec4ff /source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c | |
parent | b1f0e3e4a74a959779245c163dbe3258aab88085 (diff) |
Gizmo: add event argument to invoke_prepare callback
Diffstat (limited to 'source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c')
-rw-r--r-- | source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c index 1f29ffd5669..9c18406b84d 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c @@ -1010,7 +1010,7 @@ void wm_gizmomap_modal_set( /* Use even if we don't have invoke, so we can setup data before an operator runs. */ if (gz->parent_gzgroup->type->invoke_prepare) { - gz->parent_gzgroup->type->invoke_prepare(C, gz->parent_gzgroup, gz); + gz->parent_gzgroup->type->invoke_prepare(C, gz->parent_gzgroup, gz, event); } if (gz->type->invoke && (gz->type->modal || gz->custom_modal)) { |