Fix typo, fix GCC build
parent
d11af753f2
commit
ab50b5e181
|
@ -94,9 +94,10 @@ void ToCamelCase(std::string &text)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Make lower case
|
// Make next one lower case
|
||||||
(*it) = ToLower(*it);
|
|
||||||
++it;
|
++it;
|
||||||
|
if (it != text.end())
|
||||||
|
(*it) = ToLower(*it);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,7 +138,7 @@ TEST_F(ColladaExportLight, testExportLight)
|
||||||
aiString readModified;
|
aiString readModified;
|
||||||
EXPECT_TRUE(imported->mMetaData->Get("Modified", readModified)) << "No modified metadata";
|
EXPECT_TRUE(imported->mMetaData->Get("Modified", readModified)) << "No modified metadata";
|
||||||
EXPECT_STRNE(origModified.C_Str(), readModified.C_Str()) << "Modified date did not change";
|
EXPECT_STRNE(origModified.C_Str(), readModified.C_Str()) << "Modified date did not change";
|
||||||
EXPECT_GT(readModified.length, 18) << "Modified date too short";
|
EXPECT_GT(readModified.length, ai_uint32(18)) << "Modified date too short";
|
||||||
|
|
||||||
// Lights
|
// Lights
|
||||||
EXPECT_TRUE(imported->HasLights());
|
EXPECT_TRUE(imported->HasLights());
|
||||||
|
|
Loading…
Reference in New Issue