diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-13 17:18:22 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-17 15:46:45 +0300 |
commit | 58214ab52a62fc046ad4bfd9691953fb99cfea3e (patch) | |
tree | cdeb2008b5d90b7dfd216a89a88af9f7e14e5bed /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 9be5a94cf3e1d60f8c73e86c570f545e88eed49a (diff) |
Sculpt: Add pose origin preview to the Pose Brush
This commit makes the pose brush easier to control. It also includes a refactor of the pose brush init code.
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D5761
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index b814e87fcb0..ba7c2e601ff 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -58,6 +58,13 @@ bool sculpt_cursor_geometry_info_update(bContext *C, const float mouse[2], bool use_sampled_normal); void sculpt_geometry_preview_lines_update(bContext *C, struct SculptSession *ss, float radius); +void sculpt_pose_calc_pose_data(struct Sculpt *sd, + struct Object *ob, + struct SculptSession *ss, + float initial_location[3], + float radius, + float *r_pose_origin, + float *r_pose_factor); /* Sculpt PBVH abstraction API */ float *sculpt_vertex_co_get(struct SculptSession *ss, int index); |