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 1 additions and 0 deletions
Showing only changes of commit a115eaccb5 - Show all commits

View File

@ -297,6 +297,7 @@ class Layer : public TreeNode, ::GreasePencilLayer {
Span<int> sorted_keys()

Put out of line.

Put out of line.
{
sorted_keys_cache_.ensure([&](Vector<int> &r_data) {
r_data.clear_and_shrink();
r_data.reserve(frames().size());
for (int64_t key : frames().keys()) {
r_data.append(key);

Looks like this should be private maybe? It has a _ suffix.

Looks like this should be private maybe? It has a `_` suffix.