Blender Git Commit Log
Git Commits -> Revision 54f5c17
Revision 54f5c17 by Jeroen Bakker (master) September 8, 2021, 06:47 (GMT) |
Asset: Dropping Material assets on material slot under mouse cursor. This patch allows dropping material assets from material slot under the mouse cursor. Before this change the material slot had to be hand-picked from the properties panel. For consistency it is chosen to do this in any shading mode as the tooltip shows what is exactly going to happen during release. The feature also works for other object types than Meshes as it uses the drawn surface on the GPU to detect the material slots. Performance of this patch has been tested with AMD GCN3.0 cards and are very responsive. Reviewed By: fclem, Severin Differential Revision: https://developer.blender.org/D12190 |
Commit Details:
Full Hash: 54f5c174a8cf480d934f3be8ecc85c76537ad148
Parent Commit: 8d40d61
Lines Changed: +166, -44
11 Modified Paths:
/source/blender/blenkernel/BKE_object.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+6, -0) (Diff)
/source/blender/draw/DRW_engine.h (+1, -0) (Diff)
/source/blender/draw/engines/basic/basic_engine.c (+59, -16) (Diff)
/source/blender/draw/intern/draw_manager.c (+7, -0) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+10, -0) (Diff)
/source/blender/editors/object/object_relations.c (+11, -9) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+49, -13) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+19, -6) (Diff)
/source/blender/blenkernel/intern/object.c (+6, -0) (Diff)
/source/blender/draw/DRW_engine.h (+1, -0) (Diff)
/source/blender/draw/engines/basic/basic_engine.c (+59, -16) (Diff)
/source/blender/draw/intern/draw_manager.c (+7, -0) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+10, -0) (Diff)
/source/blender/editors/object/object_relations.c (+11, -9) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+49, -13) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+19, -6) (Diff)