Blender Git Commit Log

Git Commits -> Revision 9dd4058

Revision 9dd4058 by Nicholas Bishop (master)
March 15, 2012, 09:10 (GMT)
Add RNA for brush capabilities (sculpt-only for now.)

Added a new RNA-only nested structure, Brush.SculptCapabilities. It
contains read-only properties that use the current sculpt tool (and
occasionally other brush properties) to determine whether some feature
is available.

For example, the grab and snake-hook brushes don't support the
strength property. Querying brush.sculpt_capabilities.has_strength
will return false only if one of these brushes is selected.

Commit Details:

Full Hash: 9dd4058833ee1ec0f62bec653834e414c8042eb2
SVN Revision: 44898
Parent Commit: c38e8e7
Lines Changed: +166, -0

1 Modified Path:

/source/blender/makesrna/intern/rna_brush.c (+166, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021