The way mesh element selection lists are handled in Python is really not mature.
Theres a way of setting the active face but not the active vert/edge... The only way to manage ordered selection lists is by using bmesh selection_history, but that functions badly also: Firstly the already active selection list when creating a bmesh from edit_mesh is not loaded in the history list. Also when using Bkey/Akey the list is not populated with the selected elements. Also when using bpy.ops.mesh.shortest_path_pick() the history is deleted and then loaded by the element that was clicked instead it should be added to. Also when using bm.select_flush(0) the list is updated but not when programmatically selecting elements (v.select = 1) and then doing bm.select_flush()? As it is clear from using Blender, selecting/deselecting elements, that Blender keeps a complete and ordered selection list internally, this list should be accessible from within Python, and be gettable AND settable, so complete selection states could be saved and restored. In the hope this issue gets addressed, Gert De Roost
_______________________________________________ Bf-python mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-python
