Blender Git Commit Log

Git Commits -> Revision a7dc752

March 3, 2021, 17:15 (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: a7dc752f26975191f8890483fbcba964499740f9
Parent Commit: 5d42e77
Committed By: Julian Eisel
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