Blender Git Loki

Git Commits -> Revision 1f77f7b

Revision 1f77f7b by Campbell Barton (master)
August 4, 2010, 12:18 (GMT)
Brush/Paint internal changes
- remove brush array for each Paint struct, just use a single brush pointer.
- removed rna function based template filtering.
- filter brushes using a flag on the brush and the pointer poll function.
- set the brushes using a new operator WM_OT_context_set_id().

TODO
- remake startup.blend, currently brush groupings are lost.
- rewrite WM_OT_context_set_id() to use rna introspection.

Commit Details:

Full Hash: 1f77f7b05af24d3117d76d8c2ec43dbee031ab6a
SVN Revision: 31037
Parent Commit: 2f8f86e
Lines Changed: +193, -529

24 Modified Paths:

/release/scripts/op/wm.py (+33, -0) (Diff)
/release/scripts/ui/space_view3d_toolbar.py (+9, -21) (Diff)
/source/blender/blenkernel/BKE_brush.h (+0, -3) (Diff)
/source/blender/blenkernel/BKE_paint.h (+1, -5) (Diff)
/source/blender/blenkernel/intern/brush.c (+8, -60) (Diff)
/source/blender/blenkernel/intern/paint.c (+8, -103) (Diff)
/source/blender/blenloader/intern/readfile.c (+9, -13) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -9) (Diff)
/source/blender/editors/gpencil/gpencil_buttons.c (+1, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+3, -3) (Diff)
/source/blender/editors/interface/interface_templates.c (+10, -55) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+18, -18) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+7, -19) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_image/Makefile (+2, -2) (Diff)
/source/blender/editors/space_logic/logic_window.c (+1, -1) (Diff)
/source/blender/editors/space_nla/nla_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+5, -5) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+2, -4) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -3) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+18, -63) (Diff)
/source/blender/makesrna/intern/rna_define.c (+46, -46) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+8, -91) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+0, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021