Blender Git Commit Log

Git Commits -> Revision 3eb8307

Revision 3eb8307 by Patrick Busch (master)
March 2, 2021, 19:13 (GMT)
Python API: Expose CurveMapping Reset View function

The Python API for the curve mapping widget offers the `update`
function, but no way to reset the view to the clipping rectangle.

This commit adds a blenkernel function for this operation,
and exposes it to the CurvMapping RNA API. This allows addons
to display a more user-friendly view of the data in this widget.

Differential Revision: https://developer.blender.org/D10561

Commit Details:

Full Hash: 3eb8307160e327f64593d218125d02289285aa17
Parent Commit: 85421c4
Committed By: Hans Goudey
Lines Changed: +11, -1

4 Modified Paths:

/source/blender/blenkernel/BKE_colortools.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/colortools.c (+6, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_color.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021