-> Stored Selections in Mesh DNA

Stored selections now get saved to mesh library blocks as direct data.
The idea that stored selections are 'erased' when leaving editmode and
switching objects is pretty mysterious for the user. Note that currently
the mselect array in a mesh is not written to file.  Not sure whether
to change this or not.
This commit is contained in:
2006-04-03 19:02:22 +00:00
parent e9a9caee4c
commit cc8051eead
5 changed files with 68 additions and 13 deletions

View File

@@ -66,13 +66,6 @@ editmesh_lib: generic (no UI, no menus) operations/evaluators for editmesh data
#include "editmesh.h"
//TODO
//fix undo code. Biggest one.
//fix issues with EM_selectmode_set()
//get rid of 'lastvert' and 'firstvert' hacks in EditMesh struct and clean from undo code and 'load_editmesh' code and elsewhere
//find out if storing EditSelection(s) in Mesh DNA is 'ok', even if only for runtime(?)
/* ********* Selection ************ */
static int EM_check_selection(void *data)
{