Blender Git Commit Log

Git Commits -> Revision efa2ffa

Revision efa2ffa by Cody Winchester (master)
February 6, 2020, 10:29 (GMT)
Lattice Modifier add invert vgroup option

Adds the invert vertex group option to the Lattice modifier.

Adds a short flag and modifies the existing char padding for the correct amount.
Adds a .invert_vgroup to the LatticeDeformUserdata.
Passes the flag into the lattice_deform_verts function where the weights around found and used.
For the other calls of lattice_deform_verts function they pass in NULL for the flag in the same way they pass NULL for the vgroup name.

Reviewed By: mont29

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

Commit Details:

Full Hash: efa2ffaa2d2763391bf3a67fd6fc99bd1bfd2bc4
Parent Commit: 2c5379b
Committed By: Bastien Montagne
Lines Changed: +24, -6

6 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_modifier.py (+3, -1) (Diff)
/source/blender/blenkernel/BKE_lattice.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/lattice.c (+7, -3) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+5, -0) (Diff)
/source/blender/modifiers/intern/MOD_lattice.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021