Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606>2020-03-01 21:12:30 +0300
committerPablo Dobarro <pablo@pop-os.localdomain>2020-03-01 21:29:10 +0300
commitc04c5ac4f6ea59173c86d0b99be84d28571a4a00 (patch)
tree8a9f314bf182d95b6a2864f399815ddfbb6f9f6f /source/blender/editors/sculpt_paint/sculpt_intern.h
parentf2557d137ae8a0f36764bac3ab61f7cc047eca72 (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.h2
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 */