Initial Grease Pencil 3.0 stage #106848

Merged
Falk David merged 224 commits from filedescriptor/blender:grease-pencil-v3 into main 2023-05-30 11:14:22 +02:00
1 changed files with 13 additions and 0 deletions
Showing only changes of commit a1fbfbc810 - Show all commits

View File

@ -180,6 +180,19 @@ TEST(greasepencil, layer_tree_pre_order_iteration)
}
}
TEST(greasepencil, layer_tree_pre_order_iteration2)
{
GreasePencilLayerTreeExample ex;
Span<const Layer *> layers = ex.root.layers();
char name[64];
for (const int i : layers.index_range()) {
const Layer &layer = *layers[i];
snprintf(name, 64, "%s%d", "Layer", i + 1);
EXPECT_STREQ(layer.name().data(), name);
}
}
TEST(greasepencil, layer_tree_total_size)
{
GreasePencilLayerTreeExample ex;