diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-01-08 04:59:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-01-08 04:59:48 +0300 |
commit | 0e37045f32f35ff2264838fbaadd48ca7f2a0117 (patch) | |
tree | 304a21791fc5c7586043efd1837b57e7fb01b71e /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 55daa0d44483e165d5ce10d161489d136fa0c4e4 (diff) |
Cleanup: use paint/sculpt prefix in BKE_paint.h
PoseIKChain for example reads as if this is related to armature/pose
when it's a sculpting feature.
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index e8a6369c3b5..5d92b202997 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -37,7 +37,7 @@ struct KeyBlock; struct Object; struct SculptUndoNode; struct bContext; -struct PoseIKChainSegment; +struct SculptPoseIKChainSegment; bool sculpt_mode_poll(struct bContext *C); bool sculpt_mode_poll_view3d(struct bContext *C); @@ -75,14 +75,14 @@ void sculpt_pose_calc_pose_data(struct Sculpt *sd, float *r_pose_origin, float *r_pose_factor); -struct PoseIKChain *sculpt_pose_ik_chain_init(struct Sculpt *sd, - struct Object *ob, - struct SculptSession *ss, - struct Brush *br, - const float initial_location[3], - const float radius); +struct SculptPoseIKChain *sculpt_pose_ik_chain_init(struct Sculpt *sd, + struct Object *ob, + struct SculptSession *ss, + struct Brush *br, + const float initial_location[3], + const float radius); -void sculpt_pose_ik_chain_free(struct PoseIKChain *ik_chain); +void sculpt_pose_ik_chain_free(struct SculptPoseIKChain *ik_chain); /* Sculpt PBVH abstraction API */ const float *sculpt_vertex_co_get(struct SculptSession *ss, int index); @@ -388,7 +388,7 @@ typedef struct StrokeCache { float anchored_location[3]; /* Pose brush */ - struct PoseIKChain *pose_ik_chain; + struct SculptPoseIKChain *pose_ik_chain; float vertex_rotation; /* amount to rotate the vertices when using rotate brush */ struct Dial *dial; |