[LYN-3078] Removed legacy CMaterial and all related/unused classes.
This commit is contained in:
@@ -361,16 +361,6 @@ void ReflectedPropertyControl::CreateItems(XmlNodeRef node, CVarBlockPtr& outBlo
|
||||
textureVar->Set(textureName);
|
||||
}
|
||||
}
|
||||
else if (!azstricmp(type, "material"))
|
||||
{
|
||||
CSmartVariable<QString> materialVar;
|
||||
AddVariable(group, materialVar, child->getTag(), humanReadableName.toUtf8().data(), strDescription.toUtf8().data(), func, pUserData, IVariable::DT_MATERIAL);
|
||||
const char* materialName;
|
||||
if (child->getAttr("value", &materialName))
|
||||
{
|
||||
materialVar->Set(materialName);
|
||||
}
|
||||
}
|
||||
else if (!azstricmp(type, "color"))
|
||||
{
|
||||
CSmartVariable<Vec3> colorVar;
|
||||
|
||||
Reference in New Issue
Block a user