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:
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_intern.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index b02ccca3d4a..8d009b64b6b 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -181,6 +181,10 @@ typedef struct SculptThreadedTaskData {
float *prev_mask;
+ float *pose_origin;
+ float *pose_initial_co;
+ float (*transform_rot)[4], (*transform_trans)[4], (*transform_trans_inv)[4];
+
float max_distance_squared;
float nearest_vertex_search_co[3];
int nearest_vertex_index;
@@ -334,6 +338,11 @@ typedef struct StrokeCache {
bool original;
float anchored_location[3];
+ /* Pose brush */
+ float *pose_factor;
+ float pose_initial_co[3];
+ float pose_origin[3];
+
float vertex_rotation; /* amount to rotate the vertices when using rotate brush */
struct Dial *dial;