[Bf-blender-cvs] [8fb7c50aabd] master: Fix compiler error in Windows
Antonio Vazquez
noreply at git.blender.org
Thu Feb 24 19:38:38 CET 2022
Commit: 8fb7c50aabdf79d7c0f72a43c624cbbabbe146a7
Author: Antonio Vazquez
Date: Thu Feb 24 19:38:16 2022 +0100
Branches: master
https://developer.blender.org/rB8fb7c50aabdf79d7c0f72a43c624cbbabbe146a7
Fix compiler error in Windows
In some compilers this file fails because the function `BKE_mesh_poly_normals_ensure`is not defined.
===================================================================
M source/blender/nodes/geometry/nodes/node_geo_input_mesh_face_is_planar.cc
===================================================================
diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_mesh_face_is_planar.cc b/source/blender/nodes/geometry/nodes/node_geo_input_mesh_face_is_planar.cc
index 1113087b264..59b8ceb1caa 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_input_mesh_face_is_planar.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_input_mesh_face_is_planar.cc
@@ -4,6 +4,8 @@
#include "DNA_meshdata_types.h"
#include "node_geometry_util.hh"
+#include "BKE_mesh.h"
+
namespace blender::nodes::node_geo_input_mesh_face_is_planar_cc {
static void node_declare(NodeDeclarationBuilder &b)
More information about the Bf-blender-cvs
mailing list