Blender Git Loki
Git Commits -> Revision 928bece
Revision 928bece by Campbell Barton (master) May 1, 2019, 10:32 (GMT) |
UV Sculpt: improve tool-system integration In 2.7x UV sculpt was a kind of sub-mode (a toggle with it's own key-map & drawing code). Move this to an operator that uses the tool-system, this simplifies internal logic, especially brush selection which now matches sculpt and other paint modes. - Remove toggle used to enable uv sculpt. - Expose the brush, which was already used but there was no way to select different brushes. - Make UV sculpt use paint paint tool slots (using brushes how all other paint mode currently do). - Move UV Sculpt keymap to the tools keymap. - Remove Q to toggle UV sculpt mode, S/P/G keys to switch tools. |
Commit Details:
Full Hash: 928becec60d16880838dd756cc8b6b5ee73f9b2d
Parent Commit: 5fd69f6
Lines Changed: +194, -430
28 Modified Paths:
/doc/python_api/sphinx_doc_gen.py (+0, -1) (Diff)
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+20, -36) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+0, -33) (Diff)
/release/scripts/startup/bl_ui/space_image.py (+52, -46) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+22, -1) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+49, -17) (Diff)
/source/blender/blenkernel/intern/paint_toolslots.c (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+7, -0) (Diff)
/source/blender/editors/include/ED_image.h (+0, -3) (Diff)
/source/blender/editors/include/ED_uvedit.h (+0, -1) (Diff)
/source/blender/editors/object/object_edit.c (+0, -2) (Diff)
/source/blender/editors/screen/screen_context.c (+0, -17) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+0, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+0, -35) (Diff)
/source/blender/editors/sculpt_paint/sculpt_uv.c (+4, -118) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -4) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+0, -6) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+1, -10) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+10, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -8) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+16, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+0, -26) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+6, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_keymap_utils.c (+0, -3) (Diff)
/source/blender/windowmanager/intern/wm_toolsystem.c (+1, -59) (Diff)
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+20, -36) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+0, -33) (Diff)
/release/scripts/startup/bl_ui/space_image.py (+52, -46) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+22, -1) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+49, -17) (Diff)
/source/blender/blenkernel/intern/paint_toolslots.c (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+7, -0) (Diff)
/source/blender/editors/include/ED_image.h (+0, -3) (Diff)
/source/blender/editors/include/ED_uvedit.h (+0, -1) (Diff)
/source/blender/editors/object/object_edit.c (+0, -2) (Diff)
/source/blender/editors/screen/screen_context.c (+0, -17) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+0, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+0, -35) (Diff)
/source/blender/editors/sculpt_paint/sculpt_uv.c (+4, -118) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -4) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+0, -6) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+1, -10) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+10, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -8) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+16, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+0, -26) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+6, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_keymap_utils.c (+0, -3) (Diff)
/source/blender/windowmanager/intern/wm_toolsystem.c (+1, -59) (Diff)