1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-22 03:40:49 +00:00

Change debug levels

This commit is contained in:
unelsson 2021-09-12 21:08:59 +03:00
parent ec0b36d21d
commit f2a894024a

View File

@ -238,7 +238,7 @@ namespace Resource
if (mode == "GEQUAL") return osg::AlphaFunc::GEQUAL;
if (mode == "NEVER") return osg::AlphaFunc::NEVER;
Log(Debug::Info) << "Unexpected alpha testing mode: " << mode;
Log(Debug::Warning) << "Unexpected alpha testing mode: " << mode;
return osg::AlphaFunc::LEQUAL;
}
@ -278,7 +278,6 @@ namespace Resource
osg::AlphaFunc::ComparisonFunction mode = getTestMode(descriptionParts.at(1));
osg::ref_ptr<osg::AlphaFunc> alphaFunc (new osg::AlphaFunc(mode, std::stod(descriptionParts.at(2))));
node.getOrCreateStateSet()->setAttributeAndModes(alphaFunc, osg::StateAttribute::ON);
Log(Debug::Info) << "Setting collada alpha test for " << node.getName();
}
}
}