mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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:
parent
7c68ac258f
commit
fe6ab4f344
2 changed files with 70 additions and 55 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue