Commit 524c175c authored by nanahira's avatar nanahira

fix

parent fe487e43
......@@ -1852,7 +1852,7 @@ function Auxiliary.LCheckOtherMaterial(c,sg,lc)
end
function Auxiliary.LCheckMaterialCompatibility(sg,lc)
for tc in Auxiliary.Next(sg) do
local mg=sg:Clone()
local mg=sg:Filter(aux.TRUE,tc)
local res=Auxiliary.LCheckOtherMaterial(tc,mg,lc)
mg:DeleteGroup()
if not res then return false end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment