[Bf-blender-cvs] [1e4cd98f0a9] master: Fix build error without unity build after recent changes
Brecht Van Lommel
noreply at git.blender.org
Fri May 13 17:56:15 CEST 2022
Commit: 1e4cd98f0a948fbd947f79c220e7834c99a44f65
Author: Brecht Van Lommel
Date: Fri May 13 17:20:08 2022 +0200
Branches: master
https://developer.blender.org/rB1e4cd98f0a948fbd947f79c220e7834c99a44f65
Fix build error without unity build after recent changes
float3 should have been declared within the blender namespace. And forward
declaration is difficult with templated classes so just include header.
===================================================================
M source/blender/geometry/GEO_mesh_primitive_cuboid.hh
===================================================================
diff --git a/source/blender/geometry/GEO_mesh_primitive_cuboid.hh b/source/blender/geometry/GEO_mesh_primitive_cuboid.hh
index d8f16065e2b..d9901db9f15 100644
--- a/source/blender/geometry/GEO_mesh_primitive_cuboid.hh
+++ b/source/blender/geometry/GEO_mesh_primitive_cuboid.hh
@@ -2,8 +2,9 @@
#pragma once
+#include "BLI_math_vec_types.hh"
+
struct Mesh;
-struct float3;
namespace blender {
namespace bke {
class AttributeIDRef;
More information about the Bf-blender-cvs
mailing list