Merged changes in the trunk up to revision 46045.
Conflicts resolved: doc/python_api/sphinx_doc_gen.py source/blender/blenkernel/intern/subsurf_ccg.c source/blender/editors/mesh/editmesh_tools.c source/blender/makesdna/DNA_scene_types.h
This commit is contained in:
		| @@ -230,10 +230,10 @@ if not ARGS.partial: | ||||
|  | ||||
| else: | ||||
|     # can manually edit this too: | ||||
|     FILTER_BPY_OPS = ("import.scene", )  # allow | ||||
|     FILTER_BPY_TYPES = ("bpy_struct", "Operator", "ID")  # allow | ||||
|     #FILTER_BPY_OPS = ("import.scene", )  # allow | ||||
|     #FILTER_BPY_TYPES = ("bpy_struct", "Operator", "ID")  # allow | ||||
|     EXCLUDE_INFO_DOCS = True | ||||
|     EXCLUDE_MODULES = ( | ||||
|     EXCLUDE_MODULES = [ | ||||
|         "aud", | ||||
|         "bge", | ||||
|         "bge.constraints", | ||||
| @@ -262,7 +262,7 @@ else: | ||||
|         "mathutils.geometry", | ||||
|         "mathutils.noise", | ||||
|         "Freestyle", | ||||
|     ) | ||||
|         ] | ||||
|  | ||||
|     # ------ | ||||
|     # Filter | ||||
| @@ -270,7 +270,18 @@ else: | ||||
|     # TODO, support bpy.ops and bpy.types filtering | ||||
|     import fnmatch | ||||
|     m = None | ||||
|     EXCLUDE_MODULES = tuple([m for m in EXCLUDE_MODULES if not fnmatch.fnmatchcase(m, ARGS.partial)]) | ||||
|     EXCLUDE_MODULES = [m for m in EXCLUDE_MODULES if not fnmatch.fnmatchcase(m, ARGS.partial)] | ||||
|  | ||||
|     # special support for bpy.types.XXX | ||||
|     FILTER_BPY_OPS = tuple([m[8:] for m in ARGS.partial.split(":") if m.startswith("bpy.ops.")]) | ||||
|     if FILTER_BPY_OPS: | ||||
|         EXCLUDE_MODULES.remove("bpy.ops") | ||||
|  | ||||
|     FILTER_BPY_TYPES = tuple([m[10:] for m in ARGS.partial.split(":") if m.startswith("bpy.types.")]) | ||||
|     if FILTER_BPY_TYPES: | ||||
|         EXCLUDE_MODULES.remove("bpy.types") | ||||
|  | ||||
|     print(FILTER_BPY_TYPES) | ||||
|  | ||||
|     EXCLUDE_INFO_DOCS = (not fnmatch.fnmatchcase("info", ARGS.partial)) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user