From f15c15e992a9836a7295166af275522690ada315 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 14 Mar 2012 04:46:12 +0000 Subject: [PATCH] bmesh py api: finished todo - editable select_history eg: bm.select_history = vert, face, edge bm.select_history.add(edge) --- doc/python_api/rst/include__bmesh.rst | 1 - doc/python_api/sphinx_doc_gen.py | 5 +- source/blender/bmesh/intern/bmesh_marking.c | 14 ++-- source/blender/bmesh/intern/bmesh_marking.h | 1 + source/blender/python/bmesh/bmesh_py_select.c | 71 +++++++++++++++++++ source/blender/python/bmesh/bmesh_py_select.h | 3 + source/blender/python/bmesh/bmesh_py_types.c | 58 ++++++++++----- source/blender/python/bmesh/bmesh_py_types.h | 4 +- source/blender/python/bmesh/bmesh_py_utils.c | 4 +- 9 files changed, 134 insertions(+), 27 deletions(-) diff --git a/doc/python_api/rst/include__bmesh.rst b/doc/python_api/rst/include__bmesh.rst index 1c702275f62..2481c4a739c 100644 --- a/doc/python_api/rst/include__bmesh.rst +++ b/doc/python_api/rst/include__bmesh.rst @@ -33,7 +33,6 @@ For an overview of BMesh data types and how they reference each other see: .. todo:: * add access to BMesh **walkers** - * add access selection history (readonly access done) * add a way to re-tessellate an editmode bmesh. diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 49193ad8f22..b15fcd9303b 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -94,12 +94,13 @@ def handle_args(): usage=SCRIPT_HELP_MSG ) - # optional arguments + # optional arguments parser.add_argument("-o", "--output", dest="output_dir", type=str, default=SCRIPT_DIR, - help="Path of the API docs (default=