diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-10-01 14:00:15 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-10-01 17:10:38 +0300 |
commit | 5e98187ddb3319ab94618c9232fd0cb3538c2e02 (patch) | |
tree | 71e442db9a36a6fd9100f42d0eccb83e2932697b /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | d3c88336cdd54c227aa837814f4bd7850656daf0 (diff) |
Cleanup: make sculpt vertex random access API read-only
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 2 |
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 b895ff421f9..201aade44cd 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -75,7 +75,7 @@ void sculpt_pose_calc_pose_data(struct Sculpt *sd, float *r_pose_factor); /* Sculpt PBVH abstraction API */ -float *sculpt_vertex_co_get(struct SculptSession *ss, int index); +const float *sculpt_vertex_co_get(struct SculptSession *ss, int index); /* Dynamic topology */ void sculpt_pbvh_clear(Object *ob); |