Improve warning handling
This commit is contained in:
parent
c7d56d3edc
commit
6e4d7da487
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user