PyDoc: corrections to formatting and resolve warnings
Use RST formatting for doc-strings used in Python API docs as well as minor corrections, also add links for foreach_get/set.
This commit is contained in:
@@ -1405,8 +1405,10 @@ class GreasePencilDrawing(StructRNA):
|
||||
"""
|
||||
Return a collection of all the Grease Pencil strokes in this drawing.
|
||||
|
||||
.. note:: This API should *not* be used for performance critical operations.
|
||||
Use the :class:`GreasePencilDrawing.attributes` API instead.
|
||||
.. note::
|
||||
|
||||
This API should *not* be used for performance critical operations.
|
||||
Use the :class:`GreasePencilDrawing.attributes` API instead.
|
||||
"""
|
||||
from grease_pencil_python import GreasePencilStrokeSlice
|
||||
num_strokes = self.attributes.domain_size('CURVE')
|
||||
|
||||
Reference in New Issue
Block a user