[Bf-blender-cvs] [cdfb21c7e24] blender-v3.3-release: Fix T102466: push/pull doesn't work if applied to many vertices

Germano Cavalcante noreply at git.blender.org
Thu Jan 12 14:07:17 CET 2023


Commit: cdfb21c7e247976ccbfb8cb73f63a8238b930d1f
Author: Germano Cavalcante
Date:   Thu Nov 24 17:29:06 2022 -0300
Branches: blender-v3.3-release
https://developer.blender.org/rBcdfb21c7e247976ccbfb8cb73f63a8238b930d1f

Fix T102466: push/pull doesn't work if applied to many vertices

The assignment of member`distance` was missing in rB2d4ec9049744.

===================================================================

M	source/blender/editors/transform/transform_mode_push_pull.c

===================================================================

diff --git a/source/blender/editors/transform/transform_mode_push_pull.c b/source/blender/editors/transform/transform_mode_push_pull.c
index 87309b45231..b7806b3519e 100644
--- a/source/blender/editors/transform/transform_mode_push_pull.c
+++ b/source/blender/editors/transform/transform_mode_push_pull.c
@@ -152,6 +152,8 @@ static void applyPushPull(TransInfo *t, const int UNUSED(mval[2]))
       struct TransDataArgs_PushPull data = {
           .t = t,
           .tc = tc,
+
+          .distance = distance,
           .axis_global = {UNPACK3(axis_global)},
           .is_lock_constraint = is_lock_constraint,
           .is_data_space = is_data_space,



More information about the Bf-blender-cvs mailing list