6#define DNA_DEPRECATED_ALLOW
14#include "testing/testing.h"
25 Link fake_fcurve = {};
29 <<
"Animato Actions should NOT be considered 'layered'";
34 Link fake_fcurve = {};
40 <<
"Animato Actions should NOT be considered 'layered'";
49 <<
"Animato Actions should NOT be considered 'layered'";
56 EXPECT_TRUE(
action_is_layered(action)) <<
"Layered Actions should be considered 'layered'";
63 EXPECT_TRUE(
action_is_layered(action)) <<
"Layered Actions should be considered 'layered'";
68 Link fake_fcurve = {};
73 <<
"Layered Actions with forward-compat data should be considered 'layered'";
78 EXPECT_TRUE(
action_is_layered(action)) <<
"Zero'ed-out Actions should be considered 'layered'";
Versioning of old animation data. Most animation versioning code lives in the versioning_xxx....
void BLI_addtail(ListBase *listbase, void *vlink) ATTR_NONNULL(1)
TEST(animrig_versioning, action_is_layered)
bool action_is_layered(const bAction &dna_action)