Commit: d4330ae70be6a924d40ae7efccb988d51109c5c4 Author: Germano Cavalcantemano-wii Date: Sun Jan 10 20:55:23 2021 -0300 Branches: master https://developer.blender.org/rBd4330ae70be6a924d40ae7efccb988d51109c5c4
Transform: In the Header, show translation value in local space only with constraint This partially reverts commit ad15e764dd92. The local value is only useful with constraint. =================================================================== M source/blender/editors/transform/transform_mode_translate.c =================================================================== diff --git a/source/blender/editors/transform/transform_mode_translate.c b/source/blender/editors/transform/transform_mode_translate.c index c94da21950d..851e0feb5f5 100644 --- a/source/blender/editors/transform/transform_mode_translate.c +++ b/source/blender/editors/transform/transform_mode_translate.c @@ -427,7 +427,7 @@ static void applyTranslation(TransInfo *t, const int UNUSED(mval[2])) /* Set the redo value. */ mul_v3_m3v3(t->values_final, t->spacemtx_inv, global_dir); - headerTranslation(t, t->values_final, str); + headerTranslation(t, (t->con.mode & CON_APPLY) ? t->values_final : global_dir, str); recalcData(t); ED_area_status_text(t->area, str); _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
