Blender Git Loki
Git Commits -> Revision b2ae44d
Revision b2ae44d by Nicholas Bishop (master) January 12, 2012, 21:48 (GMT) |
Fix some RNA/scene issuess with unified paint settings. Added RNA for the unified paint setting flags that matches the Brush RNA. Fixed the getter/setter functions to avoid guessing which Scene's UnifiedPaintSetting to use. The getter functions take a Scene pointer now, the setter functions are removed in favor of a more explicit approach through RNA: Rather than RNA choosing whether a property's value is in the Brush or in the UnifiedPaintSettings, there are now explicit properties for both. The UI code has been modified accordingly to switch the toggle buttons between affecting the Brush and the UnifiedPaintSettings. |
Commit Details:
Full Hash: b2ae44dc41f7cf09bf20081734bf098d0f7cdb78
SVN Revision: 43337
Parent Commit: 1b8eab0
Lines Changed: +83, -158
9 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+25, -12) (Diff)
/source/blender/blenkernel/BKE_brush.h (+4, -9) (Diff)
/source/blender/blenkernel/intern/brush.c (+11, -79) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+4, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+9, -7) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+6, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+6, -4) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+0, -39) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+18, -1) (Diff)
/source/blender/blenkernel/BKE_brush.h (+4, -9) (Diff)
/source/blender/blenkernel/intern/brush.c (+11, -79) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+4, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+9, -7) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+6, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+6, -4) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+0, -39) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+18, -1) (Diff)