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:
authorSergey Sharybin <sergey@blender.org>2020-12-31 17:13:50 +0300
committerSergey Sharybin <sergey@blender.org>2021-01-21 14:37:50 +0300
commite4feadde90375222858989a600fbc40a4627150b (patch)
tree2a395f9cc75c2349f3305dce483edcf8adbfce64 /source/blender/editors/transform/transform_mode_translate.c
parent35f379ba26fb6edcde6a9f8248457fc473d114d6 (diff)
Tracking: Implement proportional editingtracking_proportional_editing_v2
Disclaimer: This is a work-in-progress, to find best and optimal workflow, user interface, defaults, and so on. To test the new functionality: 1. Enable proportional editing. 2. Grab marker. The expected behavior is that in this configuration the transform will be smoothly propagated up to keyframe or up to end of tracked segment (whatever happens sooner). Allows to address issue of sudden jump in track when correcting sliding marker. Differential Revision: https://developer.blender.org/D2771
Diffstat (limited to 'source/blender/editors/transform/transform_mode_translate.c')
-rw-r--r--source/blender/editors/transform/transform_mode_translate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_mode_translate.c b/source/blender/editors/transform/transform_mode_translate.c
index 851e0feb5f5..0545bf4f906 100644
--- a/source/blender/editors/transform/transform_mode_translate.c
+++ b/source/blender/editors/transform/transform_mode_translate.c
@@ -201,8 +201,10 @@ static void headerTranslation(TransInfo *t, const float vec[3], char str[UI_MAX_
}
if (t->flag & T_PROP_EDIT_ALL) {
- ofs += BLI_snprintf(
- str + ofs, UI_MAX_DRAW_STR - ofs, TIP_(" Proportional size: %.2f"), t->prop_size);
+ if ((t->flag & T_PROP_FIXED_DISTANCE) == 0) {
+ ofs += BLI_snprintf(
+ str + ofs, UI_MAX_DRAW_STR - ofs, TIP_(" Proportional size: %.2f"), t->prop_size);
+ }
}
if (t->spacetype == SPACE_NODE) {