Remove compositing from supported features (it is replaced by shaders now and was deprecated anyway)
This commit is contained in:
parent
91980a2fdd
commit
6e64ce70df
@ -218,16 +218,7 @@ Material::Material(const XMLNode *node, bool deprecated)
|
|||||||
}
|
}
|
||||||
if (node->get("compositing", &s))
|
if (node->get("compositing", &s))
|
||||||
{
|
{
|
||||||
if (s == "test")
|
Log::warn("material", "compositing property is deprecated and removed. Please use shaders now");
|
||||||
{
|
|
||||||
m_shader_name = "alphatest";
|
|
||||||
}
|
|
||||||
else if (s == "additive")
|
|
||||||
{
|
|
||||||
m_shader_name = "additive";
|
|
||||||
}
|
|
||||||
else if (s != "none")
|
|
||||||
Log::warn("material", "Unknown compositing mode '%s'", s.c_str());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
s = "";
|
s = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user