diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-05-13 18:20:08 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-05-13 18:55:54 +0300 |
commit | 1e4cd98f0a948fbd947f79c220e7834c99a44f65 (patch) | |
tree | e38c513d1bee68d2a443521f1ff0916d176c4371 | |
parent | 7c9c13cf8333beb57c4e50e261c5699738347e02 (diff) |
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.
-rw-r--r-- | source/blender/geometry/GEO_mesh_primitive_cuboid.hh | 3 |
1 files changed, 2 insertions, 1 deletions
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; |