Blender Git Commit Log

Git Commits -> Revision 8ddf9f0

April 21, 2021, 17:20 (GMT)
Initial prototype for snapping plane feedback while dragging assets

Shows the same grid overlay as the Add Object tool when dragging an
asset into a 3D view. Uses the gizmo-system for that.
How visibility of gizmo-groups is managed is rather tricky, for now I
hacked things a bit to work. I have ideas to make this nicer.

Besides that, this is generally a design that I think can work in
master: Just like tools, drop-boxes can set a gizmo-group to use while
they are active. If the gizmo-group supports usage while dragging, it is
drawn.

Commit Details:

Full Hash: 8ddf9f06ab82b1164b40ef9b7ed4ecadede9fb06
Parent Commit: 7aa6444
Lines Changed: +240, -45

12 Modified Paths:

/source/blender/editors/include/ED_gizmo_library.h (+1, -0) (Diff)
/source/blender/editors/include/ED_gizmo_utils.h (+6, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+8, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+14, -11) (Diff)
/source/blender/editors/space_view3d/view3d_placement.c (+92, -12) (Diff)
/source/blender/editors/util/gizmo_utils.c (+24, -0) (Diff)
/source/blender/windowmanager/gizmo/WM_gizmo_types.h (+6, -1) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+61, -19) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+17, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+4, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021