diff options
author | Pablo Dobarro <pablodp606> | 2020-03-01 21:12:30 +0300 |
---|---|---|
committer | Pablo Dobarro <pablo@pop-os.localdomain> | 2020-03-01 21:29:10 +0300 |
commit | c04c5ac4f6ea59173c86d0b99be84d28571a4a00 (patch) | |
tree | 8a9f314bf182d95b6a2864f399815ddfbb6f9f6f /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | f2557d137ae8a0f36764bac3ab61f7cc047eca72 (diff) |
Fix T73947: Support radial symmetry in Multiplane Scrape
This includes the following changes:
- Use always the angle stored in the StrokeCache when deforming
- Interpolate between the previous and the new sampled angles
- Calculate the cursor matrix only on the 0 radial symmetry iteration
Reviewed By: brecht
Maniphest Tasks: T73947
Differential Revision: https://developer.blender.org/D6901
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index c67096c2dff..d9905f74be8 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -521,7 +521,7 @@ typedef struct StrokeCache { float *automask; float stroke_local_mat[4][4]; - float multiplane_scrape_sampled_angle; + float multiplane_scrape_angle; rcti previous_r; /* previous redraw rectangle */ rcti current_r; /* current redraw rectangle */ |