Alembic: simplified conditional statements

This commit is contained in:
Sybren A. Stüvel
2017-02-23 11:25:42 +01:00
parent 997ff4bdc4
commit a9504580b3

View File

@@ -117,15 +117,7 @@ struct ImportSettings {
template <typename Schema>
static bool has_animations(Schema &schema, ImportSettings *settings)
{
if (settings->is_sequence) {
return true;
}
if (!schema.isConstant()) {
return true;
}
return false;
return settings->is_sequence || !schema.isConstant();
}
/* ************************************************************************** */