Initial Grease Pencil 3.0 stage #106848
|
@ -1018,12 +1018,12 @@ void GreasePencilDrawing::tag_positions_changed()
|
|||
this->runtime->triangles_cache.tag_dirty();
|
||||
}
|
||||
|
||||
bool GreasePencilDrawing::has_stroke_buffer()
|
||||
bool GreasePencilDrawing::has_stroke_buffer() const
|
||||
{
|
||||
return this->runtime->stroke_cache.points.size() > 0;
|
||||
}
|
||||
|
||||
blender::Span<blender::bke::StrokePoint> GreasePencilDrawing::stroke_buffer()
|
||||
blender::Span<blender::bke::StrokePoint> GreasePencilDrawing::stroke_buffer() const
|
||||
{
|
||||
return this->runtime->stroke_cache.points.as_span();
|
||||
}
|
||||
|
|
|
@ -406,7 +406,7 @@ typedef struct GreasePencil {
|
|||
struct AnimData *adt;
|
||||
|
||||
/**
|
||||
* An array of pointers to drawings. The drawing can own it's data or reference it from another
|
||||
* An array of pointers to drawings. The drawing can own its data or reference it from another
|
||||
|
||||
* data-block. Note that the order of this array is arbitrary. The mapping of drawings to frames
|
||||
* is done by the layers. See the `Layer` class in `BKE_grease_pencil.hh`.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Grammar:
it's data
->its data