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:
authorJacques Lucke <jacques@blender.org>2021-03-03 14:14:06 +0300
committerJacques Lucke <jacques@blender.org>2021-03-03 14:14:06 +0300
commitb9ee8777525d12942c6c7b3adbd5a087699a6186 (patch)
tree78b19afaf1693444950c79447877e08c57910cbe /source/blender/editors
parenta915e47ca17d6f4949088137f5d39dcb4f582cd2 (diff)
Cleanup: make format
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/transform/transform_constraints.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 93d5d41e121..43cbcb0aba4 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -572,7 +572,8 @@ static void constraints_rotation_impl(TransInfo *t,
break;
}
/* don't flip axis if asked to or if num input */
- if (r_angle && !((mode & CON_NOFLIP) || hasNumInput(&t->num) || (t->flag & T_INPUT_IS_VALUES_FINAL))) {
+ if (r_angle &&
+ !((mode & CON_NOFLIP) || hasNumInput(&t->num) || (t->flag & T_INPUT_IS_VALUES_FINAL))) {
float view_vector[3];
view_vector_calc(t, t->center_global, view_vector);
if (dot_v3v3(r_vec, view_vector) > 0.0f) {