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@gmail.com>2019-09-13 17:18:22 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-09-17 15:46:45 +0300
commit58214ab52a62fc046ad4bfd9691953fb99cfea3e (patch)
treecdeb2008b5d90b7dfd216a89a88af9f7e14e5bed /source/blender/editors/sculpt_paint/sculpt_intern.h
parent9be5a94cf3e1d60f8c73e86c570f545e88eed49a (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.h7
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);