Cleanup: Fix build error with msvc
math.h does not define M_PI on windows, needs BLI_math_base.h to get them. thanks to @quollism on chat for spotting it.
This commit is contained in:
parent
e82b7f1527
commit
edcefb739a
|
@ -17,7 +17,7 @@
|
|||
/* Preferences Data File 'U_default'. */
|
||||
|
||||
/* For constants. */
|
||||
#include <math.h>
|
||||
#include "BLI_math_base.h"
|
||||
|
||||
#include "DNA_userdef_types.h"
|
||||
#include "DNA_curve_types.h"
|
||||
|
|
Loading…
Reference in New Issue