(geofrey bantle) 2006/03/27 07:19:15 cest]. Log:
-> stored selections. Previously
Blender did not estore the order in which vértices, Edges.
Or Faces were selected in Edit Mode. In Many cases it is useful todo.
Have this data, however it is not desirable todo estore every selection.
Made. Now Blender estores selections in the order in which they were.
Made in a linked list called selected in editmesh. Editselection structs.
Are created whenever em_estore_selection from editmesh_lib, c is called.
(Currently only on user selection with mouse). There are several cases.
In which they might be deallocated by calling the em_remove_selection.
Function however:
-When the user deselects something with the mouse (mouse_mesh in.
Editmesh_mods, c).
-When switching selection modes estored selections that are not relevant.
To the new mode are removed by the em_strip_selections function.
(Multi-select mode is supported).
-When the vertex, Edge or face pointed todo by a certain estored selection is.
Deallocated.
-When em_clear_flag_all is called and where the flag passed todo the function.
Contains the select bitmask.
-When leaving Edit Mode (making estored selection data persistent across.
Editing sessions Will require modifications todo Mesh DNA later).
Todo:
There are a few cases still where you can temporarily end up with a estored.
Selection that points todo an element that is no longer selected.
(Edge loop de-select can cause this for instance). The solution todo this is todo.
Add a call todo em_remove_selection from em_select_edge and em_select_face when.
These functions are being used todo deselect elements. For the sake of completeness.
However this Will a los require that an em_select_vert function be coded and.
Called at all appropriate parts of the editmesh code. I Will look into this.
Later in the wek.
For now there are two tools that already take advantage of the estored selections.
The first one is merge at first or last vertex in the merge menú (the firstvert and.
Lastvert pointers are gone from editmesh). The second tool is Path select, which builds.
A Path between the last vert selected and the second todo last vert selected. This allows you.
To build complex Path selections in a short amount of time like this.
Select a, select b, Path select, select c, Path select, select d.