From Roland Smeenk, "Attached are two small fixes:

-I changed the SET of COLLADA_BOOST_INCLUDE_DIR to use findpath, so users may override this setting if they choose not to build against to precompiled boost libraries delivered with the Collada DOM.

-Changed daeRMaterials.cpp to prevent a compiler warning about a potentially uninitialized variable."
This commit is contained in:
Robert Osfield
2009-02-11 09:16:58 +00:00
parent 1420393b00
commit db00cb1613
2 changed files with 5 additions and 5 deletions

View File

@@ -1197,10 +1197,8 @@ void daeReader::processTransparencySettings( domCommon_transparent_type *ctt,
}
}
domFloat Transparency;
if (NULL == pTransparency)
Transparency = 1.0f;
else
domFloat Transparency = 1.0f;
if (NULL != pTransparency)
{
if (NULL != pTransparency->getFloat())
{