diff options
Diffstat (limited to 'source/blender/editors/space_node/node_gizmo.c')
-rw-r--r-- | source/blender/editors/space_node/node_gizmo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_node/node_gizmo.c b/source/blender/editors/space_node/node_gizmo.c index 4a929a660d9..76e8b5ca7df 100644 --- a/source/blender/editors/space_node/node_gizmo.c +++ b/source/blender/editors/space_node/node_gizmo.c @@ -190,7 +190,7 @@ void NODE_GGT_backdrop_transform(wmGizmoGroupType *gzgt) gzgt->poll = WIDGETGROUP_node_transform_poll; gzgt->setup = WIDGETGROUP_node_transform_setup; - gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_drag; + gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_maybe_drag; gzgt->refresh = WIDGETGROUP_node_transform_refresh; } @@ -411,7 +411,7 @@ void NODE_GGT_backdrop_crop(wmGizmoGroupType *gzgt) gzgt->poll = WIDGETGROUP_node_crop_poll; gzgt->setup = WIDGETGROUP_node_crop_setup; - gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_drag; + gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_maybe_drag; gzgt->draw_prepare = WIDGETGROUP_node_crop_draw_prepare; gzgt->refresh = WIDGETGROUP_node_crop_refresh; } @@ -516,7 +516,7 @@ void NODE_GGT_backdrop_sun_beams(wmGizmoGroupType *gzgt) gzgt->poll = WIDGETGROUP_node_sbeam_poll; gzgt->setup = WIDGETGROUP_node_sbeam_setup; - gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_drag; + gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_maybe_drag; gzgt->draw_prepare = WIDGETGROUP_node_sbeam_draw_prepare; gzgt->refresh = WIDGETGROUP_node_sbeam_refresh; } @@ -637,7 +637,7 @@ void NODE_GGT_backdrop_corner_pin(wmGizmoGroupType *gzgt) gzgt->poll = WIDGETGROUP_node_corner_pin_poll; gzgt->setup = WIDGETGROUP_node_corner_pin_setup; - gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_drag; + gzgt->setup_keymap = WM_gizmogroup_setup_keymap_generic_maybe_drag; gzgt->draw_prepare = WIDGETGROUP_node_corner_pin_draw_prepare; gzgt->refresh = WIDGETGROUP_node_corner_pin_refresh; } |