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>2018-12-17 09:55:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-17 09:55:18 +0300
commitb322ce0847e308f15d0a551af0a77ecf3ee06091 (patch)
tree065be76f1a924aa209a5d44e01c7f4d0cc8ff821 /doc
parent8ec7429a70cca85dd3bc7f29f1ac5030aec7054f (diff)
Context: add objects_in_mode(_unique_data)
Needed for Python to easily support multi-object edit/pose modes.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index ec2ee39a5e1..eda0ab637fa 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1014,8 +1014,8 @@ context_type_map = {
"gpencil_data": ("GreasePencel", False),
"gpencil_data_owner": ("ID", False),
"image_paint_object": ("Object", False),
- "light": ("Light", False),
"lattice": ("Lattice", False),
+ "light": ("Light", False),
"lightprobe": ("LightProbe", False),
"line_style": ("FreestyleLineStyle", False),
"material": ("Material", False),
@@ -1023,6 +1023,8 @@ context_type_map = {
"mesh": ("Mesh", False),
"meta_ball": ("MetaBall", False),
"object": ("Object", False),
+ "objects_in_mode": ("Object", True),
+ "objects_in_mode_unique_data": ("Object", True),
"particle_edit_object": ("Object", False),
"particle_settings": ("ParticleSettings", False),
"particle_system": ("ParticleSystem", False),
@@ -1054,6 +1056,7 @@ context_type_map = {
"texture_user_property": ("Property", False),
"uv_sculpt_object": ("Object", False),
"vertex_paint_object": ("Object", False),
+ "view_layer": ("ViewLayer", False),
"visible_bases": ("ObjectBase", True),
"visible_bones": ("EditBone", True),
"visible_gpencil_layers": ("GPencilLayer", True),
@@ -1061,7 +1064,6 @@ context_type_map = {
"visible_pose_bones": ("PoseBone", True),
"weight_paint_object": ("Object", False),
"world": ("World", False),
- "view_layer": ("ViewLayer", False),
}