Initial Grease Pencil 3.0 stage #106848
|
@ -109,8 +109,8 @@ typedef struct GreasePencilDrawing {
|
|||
/**
|
||||
* A buffer for a single stroke while drawing.
|
||||
*/
|
||||
blender::Span<blender::bke::StrokePoint> stroke_buffer();
|
||||
bool has_stroke_buffer();
|
||||
blender::Span<blender::bke::StrokePoint> stroke_buffer() const;
|
||||
|
||||
bool has_stroke_buffer() const;
|
||||
Hans Goudey
commented
Looks like Looks like `stroke_buffer()` can be `const`
|
||||
#endif
|
||||
} GreasePencilDrawing;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
What about a single function that returned
std::optional
rather than a separate "has_" function?