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
diff options
context:
space:
mode:
authorjon denning <gfxcoder@gmail.com>2022-07-13 15:43:57 +0300
committerjon denning <gfxcoder@gmail.com>2022-07-13 15:43:57 +0300
commitccdf189d3c5c3b90dbb95b704f684f1cd1bd192c (patch)
treee43e3bcf2d54f65e3d7ffa4f5368564817d62f23 /source/blender/python/intern/bpy_rna_gizmo.c
parent441dd08dba34d22e8a34d54b252e8cdd38f2c56c (diff)
Documentation: Update Docs for Gizmo
This patch updates the documentation for arguments regarding the `Gizmo` type. - Corrected `select_id` doc for draw_preset_ functions. `-1` indicates that no selection ID is to be written, but previous docs incorrectly specified `0` instead. - Added missing doc for `target` argument for `target_set_handler` function. Reviewed by: Aaron Carlisle (Blendify) Differential Revision: https://developer.blender.org/D14834
Diffstat (limited to 'source/blender/python/intern/bpy_rna_gizmo.c')
-rw-r--r--source/blender/python/intern/bpy_rna_gizmo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna_gizmo.c b/source/blender/python/intern/bpy_rna_gizmo.c
index 61f439e5152..32ef7865e84 100644
--- a/source/blender/python/intern/bpy_rna_gizmo.c
+++ b/source/blender/python/intern/bpy_rna_gizmo.c
@@ -314,6 +314,8 @@ PyDoc_STRVAR(
"\n"
" Assigns callbacks to a gizmos property.\n"
"\n"
+ " :arg target: Target property name.\n"
+ " :type target: string\n"
" :arg get: Function that returns the value for this property (single value or sequence).\n"
" :type get: callable\n"
" :arg set: Function that takes a single value argument and applies it.\n"