ASE: Add Material constructor which takes material name

pull/1732/head
Turo Lamminen 2018-01-23 19:43:15 +02:00
parent d49996d8a6
commit 60d78f1701
1 changed files with 8 additions and 0 deletions

View File

@ -74,6 +74,14 @@ struct Material : public D3DS::Material
{}
//! Constructor with explicit name
explicit Material(const std::string &name)
: D3DS::Material(name)
, pcInstance(NULL)
, bNeed (false)
{}
Material(const Material &other) = default;
Material(Material &&other) = default;