Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-04-20 05:28:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-20 05:29:04 +0300
commit7ccd19fc1288f64393f64b3249497c919f5f0a04 (patch)
treec1080b7e99e348a0d2fbc6a4136e610cbb6af941 /doc
parentebe04bd3cafaa1f88bd51eee5b3e7bef38ae69bc (diff)
PyAPI: update docs to include poll_message_set reference
Part of D9738
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/info_gotcha.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/python_api/rst/info_gotcha.rst b/doc/python_api/rst/info_gotcha.rst
index e5ff56063b5..df6e7297e26 100644
--- a/doc/python_api/rst/info_gotcha.rst
+++ b/doc/python_api/rst/info_gotcha.rst
@@ -50,7 +50,8 @@ you should be able to find the poll function with no knowledge of C.
Blender does have the functionality for poll functions to describe why they fail,
but its currently not used much, if you're interested to help improve the API
- feel free to add calls to ``CTX_wm_operator_poll_msg_set`` where its not obvious why poll fails, e.g:
+ feel free to add calls to :class:`bpy.types.Operator.poll_message_set` (``CTX_wm_operator_poll_msg_set`` in C)
+ where its not obvious why poll fails, e.g:
>>> bpy.ops.gpencil.draw()
RuntimeError: Operator bpy.ops.gpencil.draw.poll() Failed to find Grease Pencil data to draw into