From 1e4cd98f0a948fbd947f79c220e7834c99a44f65 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 13 May 2022 17:20:08 +0200 Subject: 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. --- source/blender/geometry/GEO_mesh_primitive_cuboid.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/geometry') 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; -- cgit v1.2.3