diff options
author | Chris Blackbourn <chrisbblend@gmail.com> | 2022-08-27 07:51:53 +0300 |
---|---|---|
committer | Chris Blackbourn <chrisbblend@gmail.com> | 2022-08-27 08:01:55 +0300 |
commit | d527aa4dd53d4f8bd226477b2d7913abf6424c57 (patch) | |
tree | 650f347ea35db514229ff733baaa5bfa28a3c8ff /source/blender/editors/transform/transform.h | |
parent | 7459c0228ecd7f4cbdbd6094fa6540fc599ae674 (diff) |
UV: support constrain-to-bounds for uv rotation operator
Differential Revision: https://developer.blender.org/D15730
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r-- | source/blender/editors/transform/transform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h index 0429e37a077..09fc07f57f4 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -620,6 +620,9 @@ typedef struct TransInfo { * value of the input parameter, except when a constrain is entered. */ float values_final[4]; + /** Cache safe value for constraints that require iteration or are slow to calculate. */ + float values_inside_constraints[4]; + /* Axis members for modes that use an axis separate from the orientation (rotate & shear). */ /** Primary axis, rotate only uses this. */ |