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:
authorPhilipp Oeser <info@graphics-engineer.com>2020-02-26 19:19:15 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-02-26 19:24:22 +0300
commit95175c3b5e2bfa223670f7abc30fe46cb3e216dd (patch)
treea5ee896d294aaac4bf9d4a40f7bc3ff2239bb4af
parent41cc3ffaf31d8ef44552b25bf137a0fed6a11ba2 (diff)
Fix T74236: Golden ratio in camera composition guides is not working
Caused by 52da1b6e2b54 (where it was switched from a value to a define - but the define was wrong...)
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 06a4147e34d..058b33a5822 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -98,7 +98,7 @@
#include "view3d_intern.h" /* own include */
-#define M_GOLDEN_RATION_CONJUGATE 0.618033988749895f
+#define M_GOLDEN_RATION_CONJUGATE 1.618033988749895f
/* -------------------------------------------------------------------- */
/** \name General Functions