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>2020-08-11 03:12:08 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-08-12 19:02:47 +0300
commit010911d7226894455023f0f1051a0d5fd2b8bb56 (patch)
treeab81dd86e1161926188fe0ed5522e6348582bd8e /source/blender/editors/sculpt_paint/sculpt_mask_expand.c
parent9f288490d5cc341c256aa9b80474aac4bd5f2d49 (diff)
Clenaup: Rename random_access_init to random_access_ensure
Reviewed By: sergey Differential Revision: https://developer.blender.org/D8529
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_mask_expand.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_mask_expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_mask_expand.c b/source/blender/editors/sculpt_paint/sculpt_mask_expand.c
index aaa61ee9ed3..0ae9baf7e2e 100644
--- a/source/blender/editors/sculpt_paint/sculpt_mask_expand.c
+++ b/source/blender/editors/sculpt_paint/sculpt_mask_expand.c
@@ -357,7 +357,7 @@ static int sculpt_mask_expand_invoke(bContext *C, wmOperator *op, const wmEvent
mouse[0] = event->mval[0];
mouse[1] = event->mval[1];
- SCULPT_vertex_random_access_init(ss);
+ SCULPT_vertex_random_access_ensure(ss);
op->customdata = MEM_mallocN(sizeof(float[2]), "initial mouse position");
copy_v2_v2(op->customdata, mouse);