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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-30 12:56:51 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-10-01 17:10:38 +0300
commit81cc2fd1c15b4f7b689b9ed27e1e942fa35903a3 (patch)
treed8ebab80dc60db9e29dd65fae5fa6ae384882f05 /source/blender/editors/sculpt_paint/sculpt_intern.h
parent46285e36e97498cca054b376de8ccaf1e53e8535 (diff)
Cleanup: don't go through sculpt accessor functions multiple times
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index 37458eaa833..b895ff421f9 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -215,6 +215,7 @@ typedef struct SculptThreadedTaskData {
float max_distance_squared;
float nearest_vertex_search_co[3];
int nearest_vertex_index;
+ float nearest_vertex_distance_squared;
int mask_expand_update_it;
bool mask_expand_invert_mask;