diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-06-05 21:47:56 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-06-09 19:49:10 +0300 |
commit | 77789a1904917ac4ed76e966311744d9f65563a7 (patch) | |
tree | 32a058f01b58a21148edc375ba9113c85a54e474 /source/blender/makesdna/DNA_brush_types.h | |
parent | 075156de9f5a5b80f9189f7c2e2a211e6ed24d29 (diff) |
Sculpt: Pose Squash and Stretch deform mode
This implements squash and stretch as a deform mode for the Pose Brush.
It is similar to scale, but it applies different scale values in different
axis. To achieve this, the pivot local space of the transform needs to
be aligned to the segment when using this deform mode to apply the scale
in the correct direction.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D7934
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index be7c894b4e4..7490dbe5cdc 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -334,6 +334,7 @@ typedef enum eBrushClothForceFalloffType { typedef enum eBrushPoseDeformType { BRUSH_POSE_DEFORM_ROTATE_TWIST = 0, BRUSH_POSE_DEFORM_SCALE_TRASLATE = 1, + BRUSH_POSE_DEFORM_SQUASH_STRETCH = 2, } eBrushPoseDeformType; typedef enum eBrushPoseOriginType { |