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; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs