updates to context docs and add missing member to node context 'node_context_dir'.
This commit is contained in:
@@ -934,6 +934,8 @@ def pycontext2sphinx(basepath):
|
|||||||
"image_context_dir",
|
"image_context_dir",
|
||||||
"node_context_dir",
|
"node_context_dir",
|
||||||
"text_context_dir",
|
"text_context_dir",
|
||||||
|
"clip_context_dir",
|
||||||
|
"sequencer_context_dir",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Changes in blender will force errors here
|
# Changes in blender will force errors here
|
||||||
@@ -943,6 +945,7 @@ def pycontext2sphinx(basepath):
|
|||||||
"active_object": ("Object", False),
|
"active_object": ("Object", False),
|
||||||
"active_operator": ("Operator", False),
|
"active_operator": ("Operator", False),
|
||||||
"active_pose_bone": ("PoseBone", False),
|
"active_pose_bone": ("PoseBone", False),
|
||||||
|
"active_node": ("Node", False),
|
||||||
"armature": ("Armature", False),
|
"armature": ("Armature", False),
|
||||||
"bone": ("Bone", False),
|
"bone": ("Bone", False),
|
||||||
"brush": ("Brush", False),
|
"brush": ("Brush", False),
|
||||||
@@ -953,6 +956,8 @@ def pycontext2sphinx(basepath):
|
|||||||
"dynamic_paint": ("DynamicPaintModifier", False),
|
"dynamic_paint": ("DynamicPaintModifier", False),
|
||||||
"edit_bone": ("EditBone", False),
|
"edit_bone": ("EditBone", False),
|
||||||
"edit_image": ("Image", False),
|
"edit_image": ("Image", False),
|
||||||
|
"edit_mask": ("Mask", False),
|
||||||
|
"edit_movieclip": ("MovieClip", False),
|
||||||
"edit_object": ("Object", False),
|
"edit_object": ("Object", False),
|
||||||
"edit_text": ("Text", False),
|
"edit_text": ("Text", False),
|
||||||
"editable_bones": ("EditBone", True),
|
"editable_bones": ("EditBone", True),
|
||||||
|
@@ -468,7 +468,7 @@ static void node_region_listener(ARegion *ar, wmNotifier *wmn)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *node_context_dir[] = {"selected_nodes", NULL};
|
const char *node_context_dir[] = {"selected_nodes", "active_node", NULL};
|
||||||
|
|
||||||
static int node_context(const bContext *C, const char *member, bContextDataResult *result)
|
static int node_context(const bContext *C, const char *member, bContextDataResult *result)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user