Blender Git Loki
Git Commits -> Revision 9159981
Revision 9159981 by Lucas Veber (master) March 10, 2020, 11:49 (GMT) |
Modifiers: Corrective Smooth modifier, new Scale parameter When scaling the root bone of a rig to apply a global scale, the corrective smooth modifier results in wrong deformation due to incorrect scaling. The delta calculations are not taking into account any scale value. To fix it, a scale property is added to the modifier, allowing to set manually the scale value for the deltas by simply multiplying the vectors by this value. There is a similar implementation in Maya's Delta Mush deformer. This property can be for example driven by the scale of the root bone of the rig, to dynamically update when the animator scale this bone. Reviewed By: brecht, sybren Differential Revision: https://developer.blender.org/D6622 |
Commit Details:
Full Hash: 915998111bc45336247a7aaf91eaa1dcd5e8881b
Parent Commit: 982b498
Committed By: Sybren A. Stüvel
Lines Changed: +27, -7
5 Modified Paths:
/release/scripts/startup/bl_ui/properties_data_modifier.py (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+12, -0) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+7, -0) (Diff)
/source/blender/modifiers/intern/MOD_correctivesmooth.c (+3, -2) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+12, -0) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+7, -0) (Diff)
/source/blender/modifiers/intern/MOD_correctivesmooth.c (+3, -2) (Diff)