[Bf-blender-cvs] [6bd0176ebc7] temp-pbvh-split: Fix: Build error on windows.

Ray Molenkamp noreply at git.blender.org
Fri Jun 3 01:16:31 CEST 2022


Commit: 6bd0176ebc760b27f232980ff25c7e9c6627af86
Author: Ray Molenkamp
Date:   Wed May 11 07:28:48 2022 -0600
Branches: temp-pbvh-split
https://developer.blender.org/rB6bd0176ebc760b27f232980ff25c7e9c6627af86

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