Page MenuHome

Cast modifier invert vgroup option

Authored by Cody Winchester (CodyWinch) on Jan 25 2020, 1:16 AM.



Adds the Invert Vertex Group weight option to the Cast modifier. Uses the same setup as similar modifiers invert weight. Adds a boolean invert property next to the vertex group string in the modifier and subtracts the current vertex weight from 1.0f if it is turned on.

Diff Detail

rB Blender

Event Timeline

LGTM, thanks for the patch, will apply with minor modifications noted in comment below.


This check can be done only once at start of function, also allows to keep weight const (using an ? : ; clause).

This revision is now accepted and ready to land.Jan 27 2020, 2:08 PM