updates to context docs and add missing member to node context 'node_context_dir'.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 11 Jun 2012 09:24:25 +0000 (09:24 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 11 Jun 2012 09:24:25 +0000 (09:24 +0000)
doc/python_api/sphinx_doc_gen.py
source/blender/editors/space_node/space_node.c

index bfef94b35d7d79df486ad0c28e32c9178ead6537..d61b5bb75212817ca689e0fc5d37dbc13f34dd1b 100644 (file)
@@ -934,6 +934,8 @@ def pycontext2sphinx(basepath):
         "image_context_dir",
         "node_context_dir",
         "text_context_dir",
+        "clip_context_dir",
+        "sequencer_context_dir",
     )
 
     # Changes in blender will force errors here
@@ -943,6 +945,7 @@ def pycontext2sphinx(basepath):
         "active_object": ("Object", False),
         "active_operator": ("Operator", False),
         "active_pose_bone": ("PoseBone", False),
+        "active_node": ("Node", False),
         "armature": ("Armature", False),
         "bone": ("Bone", False),
         "brush": ("Brush", False),
@@ -953,6 +956,8 @@ def pycontext2sphinx(basepath):
         "dynamic_paint": ("DynamicPaintModifier", False),
         "edit_bone": ("EditBone", False),
         "edit_image": ("Image", False),
+        "edit_mask": ("Mask", False),
+        "edit_movieclip": ("MovieClip", False),
         "edit_object": ("Object", False),
         "edit_text": ("Text", False),
         "editable_bones": ("EditBone", True),
index 66919935d48a3da3af1a02a3b81edf4a1db47006..c477e2bcdda84ec296a4bb3cf2169e49ffc67406 100644 (file)
@@ -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)
 {