mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-01 13:56:06 -04:00
--Code changes
-Cleanup and small bug fix for the new animation preview feature.
This commit is contained in:
@ -668,18 +668,10 @@ void XmlToEmber<T>::ScanForEmberNodes(xmlNode* curNode, const char* parentFile,
|
||||
static const char* CheckNameVal(xmlNode* node, const char* name)
|
||||
{
|
||||
if (const auto att = node->properties)
|
||||
{
|
||||
if (!Compare(att->name, "name"))
|
||||
{
|
||||
if (const auto attStr = XC(xmlGetProp(node, att->name)))
|
||||
{
|
||||
if (!Compare(attStr, name))
|
||||
{
|
||||
return CCX(attStr);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user