GPv3: Add remove_frame function to layers #110679

Merged
Falk David merged 6 commits from filedescriptor/blender:gpv3-layers-remove-frame into main 2023-08-01 14:09:19 +02:00
Showing only changes of commit 9a60eef12c - Show all commits

View File

@ -300,7 +300,7 @@ class Layer : public ::GreasePencilLayer {
GreasePencilFrame *add_frame_internal(int frame_number, int drawing_index);
int frame_index_at(int frame_number) const;
/**
* Removes null frames starting from \a begin until \a end or a non-null frame is reached.
* Removes null frames starting from \a begin until \a end (excluded) or until a non-null frame is reached.
filedescriptor marked this conversation as resolved Outdated

Maybe a bit more clear : "Removes null frames starting from \a begin to \a end (excluded), or until a non-null frame is reached."

Maybe a bit more clear : "Removes null frames starting from \a begin to \a end (excluded), or until a non-null frame is reached."
* \param begin, end: Iterators into the `sorted_keys` span.
* \returns an iterator to the element after the last null-frame that was removed.
*/