mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-01 03:09:42 +00:00
Change debug levels
This commit is contained in:
parent
ec0b36d21d
commit
f2a894024a
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue