[Bf-blender-cvs] [3eb3d363e1e] master: Fix: Build error on windows.

Ray Molenkamp noreply at git.blender.org
Wed May 11 15:28:53 CEST 2022


Commit: 3eb3d363e1ef2a32543b05cca3ce07d3be45ddc0
Author: Ray Molenkamp
Date:   Wed May 11 07:28:48 2022 -0600
Branches: master
https://developer.blender.org/rB3eb3d363e1ef2a32543b05cca3ce07d3be45ddc0

Fix: Build error on windows.

Issue introduced by rBeef98e66cf9e

BLI_math_rotation.h uses M_PI which
gets defined inside BLI_math_base.h

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

M	source/blender/blenlib/BLI_math_rotation.h

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

diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h
index 7d10e52f699..192ad482a69 100644
--- a/source/blender/blenlib/BLI_math_rotation.h
+++ b/source/blender/blenlib/BLI_math_rotation.h
@@ -7,6 +7,7 @@
  * \ingroup bli
  */
 
+#include "BLI_math_base.h"
 #include "BLI_utildefines.h"
 #include "DNA_vec_types.h"



More information about the Bf-blender-cvs mailing list