From 010911d7226894455023f0f1051a0d5fd2b8bb56 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Tue, 11 Aug 2020 02:12:08 +0200 Subject: Clenaup: Rename random_access_init to random_access_ensure Reviewed By: sergey Differential Revision: https://developer.blender.org/D8529 --- source/blender/editors/sculpt_paint/sculpt_detail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint/sculpt_detail.c') diff --git a/source/blender/editors/sculpt_paint/sculpt_detail.c b/source/blender/editors/sculpt_paint/sculpt_detail.c index e08f477c981..69c92f2baeb 100644 --- a/source/blender/editors/sculpt_paint/sculpt_detail.c +++ b/source/blender/editors/sculpt_paint/sculpt_detail.c @@ -176,7 +176,7 @@ static void sample_detail_voxel(bContext *C, ViewContext *vc, int mx, int my) SculptSession *ss = ob->sculpt; SculptCursorGeometryInfo sgi; - SCULPT_vertex_random_access_init(ss); + SCULPT_vertex_random_access_ensure(ss); /* Update the active vertex. */ const float mouse[2] = {mx, my}; -- cgit v1.2.3