Try to fix build

This commit is contained in:
auria.mg
2016-12-25 22:27:46 -05:00
parent 2b34dd8410
commit 46e7b5ac77
2 changed files with 3 additions and 2 deletions

View File

@@ -59,6 +59,7 @@ Material::Material(const XMLNode *node, bool deprecated)
{
m_shader_type = SHADERTYPE_SOLID;
m_deprecated = deprecated;
m_installed = false;
node->get("name", &m_texname);
if (m_texname=="")
@@ -422,7 +423,7 @@ Material::Material(const std::string& fname, bool is_full_path,
bool complain_if_not_found, bool load_texture)
{
m_deprecated = false;
m_installed = false;
m_texname = fname;
init();
m_full_path = file_manager->getFileSystem()->getAbsolutePath(

View File

@@ -268,7 +268,7 @@ private:
bool m_deprecated;
bool m_installed = false;
bool m_installed;
void init ();
void install (bool is_full_path=false, bool complain_if_not_found=true);