[Bf-blender-cvs] [95175c3b5e2] master: Fix T74236: Golden ratio in camera composition guides is not working

Philipp Oeser noreply at git.blender.org
Wed Feb 26 17:28:41 CET 2020


Commit: 95175c3b5e2bfa223670f7abc30fe46cb3e216dd
Author: Philipp Oeser
Date:   Wed Feb 26 17:19:15 2020 +0100
Branches: master
https://developer.blender.org/rB95175c3b5e2bfa223670f7abc30fe46cb3e216dd

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...)

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

M	source/blender/editors/space_view3d/view3d_draw.c

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

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



More information about the Bf-blender-cvs mailing list