Blender Git Loki

Git Commits -> Revision 251ef0a

Revision 251ef0a by Matt Ebb (master)
January 3, 2010, 08:37 (GMT)
Changes to Brush texture workflow

This changes how textures are accessed from Brushes, with the intention of simplifying
the workflow, and reducing the amount of clicking. Rather than the previous texture slots
(which didn't work as a stack anyway), brushes now have a single texture linked. Rather
than taking time having to set up your slots in advance, you can now select and change
textures directly as you sculpt/paint on the fly. For complex brushes, node textures can
be used, or for fast access, it's easy to make a duplicate of your brush with the texture
you like and assign a hotkey.

Brush textures can now be chosen from a new Textures panel in the brush tool
properties - click on the thumbnail to open a texture selector. This is done using a new
variation on the ID template - the number of rows and columns to display in the popup
can be customised in the UI scripts.

Commit Details:

Full Hash: 251ef0a47f34806b911ab18b59f604dd0ef3ea5b
SVN Revision: 25688
Parent Commit: ca4a5f3
Lines Changed: +357, -223

25 Modified Paths:

/release/scripts/ui/properties_texture.py (+24, -11) (Diff)
/release/scripts/ui/space_view3d_toolbar.py (+24, -0) (Diff)
/source/blender/blenkernel/intern/brush.c (+14, -44) (Diff)
/source/blender/blenkernel/intern/texture.c (+12, -40) (Diff)
/source/blender/blenloader/intern/readfile.c (+8, -19) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -5) (Diff)
/source/blender/editors/include/UI_interface.h (+9, -5) (Diff)
/source/blender/editors/include/UI_interface_icons.h (+3, -1) (Diff)
/source/blender/editors/interface/interface.c (+3, -2) (Diff)
/source/blender/editors/interface/interface_icons.c (+20, -6) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -2) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_regions.c (+92, -33) (Diff)
/source/blender/editors/interface/interface_templates.c (+61, -15) (Diff)
/source/blender/editors/interface/interface_widgets.c (+48, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -4) (Diff)
/source/blender/editors/space_buttons/buttons_context.c (+1, -1) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+4, -0) (Diff)
/source/blender/editors/space_outliner/outliner.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+3, -5) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+12, -25) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+9, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021