Improve warning handling

This commit is contained in:
Benau 2017-01-05 13:42:22 +08:00
parent c7d56d3edc
commit 6e4d7da487

View File

@ -497,7 +497,7 @@ void Material::install(bool srgb, bool premul_alpha)
m_installed = true; m_installed = true;
if (StringUtils::getPath(m_full_path).empty()) if (m_texname.find(".") == std::string::npos || m_full_path.empty())
{ {
if (m_complain_if_not_found) if (m_complain_if_not_found)
{ {