Blender Git Loki
Git Commits -> Revision 30e759c
Revision 30e759c by Nicholas Bishop (master) January 14, 2012, 23:54 (GMT) |
Fix all remaining unified paint settings uses of current Scene. Things like brush size and strength accessors now take a scene parameter rather than guessing about which Scene's unified paint settings to use. Setting the size/strength through RNA can now be done separately for the brush or the UnifiedPaintSettings. The UI python code required updating to check whether the size/strength controls should use brush or UnifiedPaintSettings RNA. Radial control also required some updates to switch between the two RNA sources. |
Commit Details:
Full Hash: 30e759c75ba9625fe46bc6b7710358282a61d4c1
SVN Revision: 43387
Parent Commit: 046bf80
Lines Changed: +379, -432
12 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+14, -14) (Diff)
/source/blender/blenkernel/BKE_brush.h (+19, -9) (Diff)
/source/blender/blenkernel/intern/brush.c (+155, -257) (Diff)
/source/blender/editors/physics/physics_ops.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+18, -17) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+26, -11) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+30, -28) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+15, -14) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+17, -15) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+11, -51) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+22, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+50, -14) (Diff)
/source/blender/blenkernel/BKE_brush.h (+19, -9) (Diff)
/source/blender/blenkernel/intern/brush.c (+155, -257) (Diff)
/source/blender/editors/physics/physics_ops.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+18, -17) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+26, -11) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+30, -28) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+15, -14) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+17, -15) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+11, -51) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+22, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+50, -14) (Diff)