1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-02 08:56:38 +00:00

Fix OSGAnimation keyframe controller not resetting transform

Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
This commit is contained in:
Sam Hellawell 2024-03-23 17:04:38 +00:00
parent d579ca9921
commit 541d09cda7

View file

@ -19,10 +19,8 @@ namespace SceneUtil
{
inline bool isEqualCharUnderscores(char a, char b)
{
if (a == '_')
a = ' '; // Treat underscore as space
if (b == '_')
b = ' '; // Treat underscore as space
if (a == '_') a = ' '; // Treat underscore as space
if (b == '_') b = ' '; // Treat underscore as space
return std::tolower(static_cast<unsigned char>(a)) == std::tolower(static_cast<unsigned char>(b));
}