Blender Git Loki

Git Commits -> Revision 7985fd0

Revision 7985fd0 by Joshua Leung (master)
June 3, 2012, 07:49 (GMT)
Part-Bugfix, Part-Feature Completion: 'Armature' Option for Mask Modifier
finally works

This commit finally hooks up the Mask Modifier's "Armature" option with the
relevant depsgraph updates on bone selection. Hence, this feature finally works
as it was originally intended - that is, bone selections can be used to control
which parts of the mesh that the mask modifier is applied to are displayed,
giving riggers more freedom to experiment with rigs that don't necessarily
feature overbearing/cluttering widgets.

Regarding the implementation ("has_viz_deps" flag):
This feature is just the "tip of the iceberg" of a number of related set of
rigging/visual animation tools I've had in mind for a while now (dating back to
the introduction of this modifier). Key considerations
- Not all rigs will use this, so we don't want an extra (depsgraph-flush +
search) recalc cost for those that don't use this.
- There are some planned features which will also use this

Commit Details:

Full Hash: 7985fd0d1f532e0a564339e901d56bc5710437fe
SVN Revision: 47365
Parent Commit: 1d4213b
Lines Changed: +120, -36

6 Modified Paths:

/source/blender/editors/armature/editarmature.c (+35, -13) (Diff)
/source/blender/editors/armature/poseobject.c (+24, -7) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+17, -4) (Diff)
/source/blender/makesdna/DNA_armature_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+32, -3) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+10, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021