6#define DNA_DEPRECATED_ALLOW
14#include "testing/testing.h"
29 <<
"Pre-2.5 Actions should NOT be considered 'layered'";
34 Link fake_fcurve = {};
38 <<
"Animato Actions should NOT be considered 'layered'";
43 Link fake_fcurve = {};
49 <<
"Animato Actions should NOT be considered 'layered'";
58 <<
"Animato Actions should NOT be considered 'layered'";
65 EXPECT_TRUE(
action_is_layered(action)) <<
"Layered Actions should be considered 'layered'";
72 EXPECT_TRUE(
action_is_layered(action)) <<
"Layered Actions should be considered 'layered'";
77 Link fake_fcurve = {};
82 <<
"Layered Actions with forward-compat data should be considered 'layered'";
87 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)