Blender Git Loki

Git Commits -> Revision edfeb71

Revision edfeb71 by Antonis Ryakiotakis (soc-2013-paint)
March 19, 2014, 19:10 (GMT)
Reusable curves for the paint systems:

This commit includes the following:

* Per brush curve setting that allows setting a different curve per brush.
Those curves stay in memory and can be edited and reused accordingly.
To make sure that a curve is saved in a file users need to add a fake user,
similar to other datablocks.

* Interface while using curves is now non blocking. Users can pan, rotate,
and zoom the view while able to select and edit curve points as previously
in the GSOC branch.
Code internally uses the transform system. This needs some tweaking still
but it should be similar to the previous GSOC system. This may change
in the future to be more compatible with other curve systems
(ie enable choosing handle type etc.)

Commit Details:

Full Hash: edfeb712eb93ba2479145b34c0e4cdb730b5f3bf
Parent Commit: 41b33d8
Lines Changed: +831, -271

34 Modified Paths:

/release/scripts/startup/bl_ui/space_image.py (+4, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+4, -0) (Diff)
/source/blender/blenkernel/BKE_main.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+6, -0) (Diff)
/source/blender/blenkernel/intern/brush.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/idcode.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+9, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+28, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+24, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+16, -1) (Diff)
/source/blender/editors/include/ED_sculpt.h (+1, -0) (Diff)
/source/blender/editors/include/ED_transform.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+127, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+5, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+5, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+265, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+44, -243) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+9, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+5, -2) (Diff)
/source/blender/editors/space_api/spacetypes.c (+1, -0) (Diff)
/source/blender/editors/transform/transform.c (+37, -15) (Diff)
/source/blender/editors/transform/transform.h (+1, -0) (Diff)
/source/blender/editors/transform/transform_constraints.c (+4, -1) (Diff)
/source/blender/editors/transform/transform_conversions.c (+171, -0) (Diff)
/source/blender/editors/transform/transform_generics.c (+15, -3) (Diff)
/source/blender/editors/transform/transform_input.c (+0, -1) (Diff)
/source/blender/editors/transform/transform_snap.c (+3, -0) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+17, -0) (Diff)
/source/blender/makesdna/DNA_ID.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+10, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021