diff --git a/code/3DSHelper.h b/code/3DSHelper.h index 150eb27b6..21ef6f5e9 100644 --- a/code/3DSHelper.h +++ b/code/3DSHelper.h @@ -505,6 +505,14 @@ struct Mesh : public MeshWithSmoothingGroups mName = szTemp; } + + //! Constructor with explicit name + explicit Mesh(const std::string &name) + : mName(name) + { + } + + //! Name of the mesh std::string mName;