Mesh: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 01:06:43 +02:00
parent 7402ac7a26
commit e98891859e
12 changed files with 17 additions and 17 deletions

View File

@@ -581,7 +581,7 @@ inline void glNormal(float* n)
// Helper function: convert Vec to SbVec3f
inline SbVec3f sbvec3f(const Base::Vector3f& _v)
{
return SbVec3f(_v.x, _v.y, _v.z);
return {_v.x, _v.y, _v.z};
}
SO_NODE_SOURCE(SoFCMeshObjectShape)