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:
authorCampbell Barton <ideasman42@gmail.com>2021-07-13 13:14:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-13 13:17:30 +0300
commit25c2875e0f2cda224e82bf7339b85ea162e5d565 (patch)
tree2519a550bf5cc69fdfed40d3113269cb3aaf8fba /source/blender/editors/include/UI_interface.h
parent8839b4c32a44ba2c50f08ccd815d450ac71c454a (diff)
Edit Mesh: use partial updates editing vertices with number buttons
Use the same partial-update functions used by transform when editing vertex locations with the number buttons. This avoids unnecessary calculations for normals and tessellation. This gives around 1.44x overall speedup on high poly meshes.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r--source/blender/editors/include/UI_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index 802c175492f..5f3df1748d0 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -531,6 +531,7 @@ struct uiBlockInteraction_Params {
* (user clicking on a number button arrows or pasting a value for example).
*/
bool is_click;
+
/**
* Array of unique event ID's (values from #uiBut.retval).
* There may be more than one for multi-button editing (see #UI_BUT_DRAG_MULTI).