Blender Git Commit Log

Git Commits -> Revision 2743d74

Revision 2743d74 by Aaron Carlisle (master)
October 20, 2021, 13:00 (GMT)
Cleanup: use an array for wmEvent cursor position variables

Use arrays for wmEvent coordinates, this quiets warnings with GCC11.

- `x, y` -> `xy`.
- `prevx, prevy` -> `prev_xy`.
- `prevclickx, prevclicky` -> `prev_click_xy`.

There is still some cleanup such as using `copy_v2_v2_int()`,
this can be done separately.

Reviewed By: campbellbarton, Severin

Ref D12901

Commit Details:

Full Hash: 2743d746ea4f38c098512f6dd6fc33d5a62429d3
Parent Commit: 3435ea0
Committed By: Campbell Barton
Lines Changed: +564, -541

84 Modified Paths:

/source/blender/editors/animation/anim_markers.c (+8, -7) (Diff)
/source/blender/editors/animation/time_scrub_ui.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_lib_2.c (+4, -4) (Diff)
/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c (+1, -1) (Diff)
/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c (+4, -4) (Diff)
/source/blender/editors/gpencil/annotate_paint.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_interpolate.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+1, -1) (Diff)
/source/blender/editors/interface/interface.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_context_menu.c (+3, -3) (Diff)
/source/blender/editors/interface/interface_dropboxes.cc (+2, -2) (Diff)
/source/blender/editors/interface/interface_eyedropper.c (+4, -4) (Diff)
/source/blender/editors/interface/interface_eyedropper_color.c (+5, -5) (Diff)
/source/blender/editors/interface/interface_eyedropper_colorband.c (+6, -6) (Diff)
/source/blender/editors/interface/interface_eyedropper_datablock.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_eyedropper_depth.c (+4, -4) (Diff)
/source/blender/editors/interface/interface_eyedropper_gpencil_color.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_handlers.c (+127, -116) (Diff)
/source/blender/editors/interface/interface_ops.c (+4, -3) (Diff)
/source/blender/editors/interface/interface_panel.c (+10, -10) (Diff)
/source/blender/editors/interface/interface_query.c (+6, -5) (Diff)
/source/blender/editors/interface/interface_region_menu_pie.c (+3, -3) (Diff)
/source/blender/editors/interface/interface_region_menu_popup.c (+4, -4) (Diff)
/source/blender/editors/interface/interface_region_popup.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_region_search.c (+5, -4) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+3, -3) (Diff)
/source/blender/editors/interface/interface_template_search_menu.c (+2, -2) (Diff)
/source/blender/editors/interface/tree_view.cc (+1, -1) (Diff)
/source/blender/editors/interface/view2d_edge_pan.c (+1, -1) (Diff)
/source/blender/editors/interface/view2d_ops.c (+30, -30) (Diff)
/source/blender/editors/mesh/editmesh_add_gizmo.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_bevel.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_loopcut.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_mask_extract.c (+3, -2) (Diff)
/source/blender/editors/object/object_add.c (+4, -4) (Diff)
/source/blender/editors/render/render_internal.c (+1, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/render/render_view.c (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+2, -2) (Diff)
/source/blender/editors/screen/screendump.c (+2, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+2, -2) (Diff)
/source/blender/editors/screen/screen_ops.c (+42, -38) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+3, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_detail.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+12, -12) (Diff)
/source/blender/editors/space_clip/tracking_ops.c (+2, -2) (Diff)
/source/blender/editors/space_console/space_console.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+1, -1) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+2, -2) (Diff)
/source/blender/editors/space_image/image_ops.c (+11, -11) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_draw.cc (+2, -2) (Diff)
/source/blender/editors/space_node/space_node.c (+2, -2) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_dataset_draw.cc (+2, -1) (Diff)
/source/blender/editors/space_text/space_text.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_ops.c (+5, -5) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+3, -3) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+36, -35) (Diff)
/source/blender/editors/space_view3d/view3d_navigate_fly.c (+1, -1) (Diff)
/source/blender/editors/transform/transform.c (+1, -1) (Diff)
/source/blender/editors/util/ed_draw.c (+7, -7) (Diff)
/source/blender/editors/util/ed_util_imbuf.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+2, -2) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c (+1, -1) (Diff)
/source/blender/windowmanager/gizmo/WM_gizmo_types.h (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+4, -3) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_query.c (+6, -6) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+68, -67) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+6, -6) (Diff)
/source/blender/windowmanager/intern/wm_gesture_ops.c (+29, -29) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+10, -10) (Diff)
/source/blender/windowmanager/intern/wm_tooltip.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+9, -11) (Diff)
/source/blender/windowmanager/WM_types.h (+7, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021